49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"name": "init",
|
|
"factory": "./src/generators/init/init",
|
|
"schema": {
|
|
"$schema": "http://json-schema.org/schema",
|
|
"$id": "NxVueInit",
|
|
"title": "Init Vue Plugin",
|
|
"description": "Initialize a Vue Plugin.",
|
|
"cli": "nx",
|
|
"type": "object",
|
|
"properties": {
|
|
"skipFormat": {
|
|
"description": "Skip formatting files.",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"js": {
|
|
"type": "boolean",
|
|
"description": "Use JavaScript instead of TypeScript",
|
|
"default": false
|
|
},
|
|
"rootProject": {
|
|
"description": "Create a project at the root of the workspace",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"routing": {
|
|
"type": "boolean",
|
|
"description": "Generate application with routes.",
|
|
"x-prompt": "Would you like to add Vue Router to this application?",
|
|
"default": false
|
|
},
|
|
"style": {
|
|
"description": "The file extension to be used for style files.",
|
|
"type": "string",
|
|
"default": "css"
|
|
}
|
|
},
|
|
"required": [],
|
|
"presets": []
|
|
},
|
|
"description": "Initialize the `@nx/vue` plugin.",
|
|
"aliases": ["ng-add"],
|
|
"hidden": true,
|
|
"implementation": "/packages/vue/src/generators/init/init.ts",
|
|
"path": "/packages/vue/src/generators/init/schema.json",
|
|
"type": "generator"
|
|
}
|