This is a project template for vue-cli
.
$ npm install -g vue-cli
$ vue init luiscomp/vue-ank-ssr my-project
$ cd my-project
$ npm install
$ npm run dev
To EsLint make a beautiful work in this project at VsCode, configure your settings.json
as below
{
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatter.html": "js-beautify-html",
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"eslint.autoFixOnSave": true,
"eslint.validate": [
{
"language": "vue",
"autoFix": true
},
{
"language": "html",
"autoFix": true
},
{
"language": "javascript",
"autoFix": true
}
]
}