vue-cli-plugin-init-project
- add the following json to your ~/.vuerc file
"presets": {
"lauraWert": {
"useConfigFiles": true,
"plugins": {
"@vue/cli-plugin-babel": {},
"@vue/cli-plugin-typescript": {
"classComponent": true,
"useTsWithBabel": true
},
"@vue/cli-plugin-eslint": {
"config": "standard",
"lintOn": [
"save",
"commit"
]
},
"@vue/cli-plugin-unit-mocha": {},
"@vue/cli-plugin-e2e-cypress": {}
},
"router": true,
"routerHistoryMode": true,
"vuex": true,
"cssPreprocessor": "stylus"
}
}
#Install
- make a new vue project with the lauraWert preset
vue create <project-name>
- choose the lauraWert preset
- add the plugin
cd <project-name>
yarn add --dev @laura-wert/vue-cli-plugin-init-project
- install the boiler plate
vue invoke @laura-wert/vue-cli-plugin-init-project
#Installing plugin locally
- make a new vue project with the lauraWert preset
vue create <project-name>
- choose the lauraWert preset
- add the plugin
cd <project-name>
yarn add --dev /full/path/to/your/plugin
- install the boiler plate
vue invoke @laura-wert/vue-cli-plugin-init-project