vue-make-cli
v2.3.0
Published
vue-make-cli
Downloads
7
Readme
vue-make-cli
Installation
yarn global add vue-make-cli
# or
npm install -g vue-make-cli
Usage
vue-make --help
Create a new page/view
# your page will be create in src/pages
vue-make page /product/index
# your view will be create in src/views
vue-make view /product/index
Config
vue-make.json
{
"styleType": "css",
"page": {
"directory": "./src/pages",
"targetDirectoryPrefix": "",
"stylePrefix": "",
"layout": false
},
"view": {
"directory": "./src/views",
"targetDirectoryPrefix": "",
"stylePrefix": "",
"layout": false
},
"component": {
"directory": "./src/components",
"targetDirectoryPrefix": "",
"stylePrefix": ""
},
"directive": {
"directory": "./src/directives"
},
"mixin": {
"directory": "./src/mixins"
},
"store": {
"directory": "./src/store"
}
}