A powerful and awesome Vue CLI
{
"useConfigFiles": true,
"plugins": {
"@vue/cli-plugin-babel": {},
"@vue/cli-plugin-router": {
"historyMode": false
},
"@vue/cli-plugin-vuex": {},
"@vue/cli-plugin-eslint": {
"config": "standard",
"lintOn": ["save","commit"]
}
},
"cssPreprocessor": "node-sass"
}
Already imported babel / eslint with standard / hash-router / vuex / node-sass.
Modify preset preset/preset.json
to customize your Vue CLI.
The following are optional:
- Axios: as a Vue plugin
- lodash: as a global variable
- Reset.scss or Normalize.scss
- Full or partial Element-UI components
-
Install @vue/cli
npm install -g @vue/cli
-
Install papilon
npm install -g papilon
-
Create your powerful vue project
papilon new <your-project-name>
When you are not using new
(e.g. create
), you will use the regular Vue CLI.