1.vuehelp:vscode中创建vuejs文件
2.ESLint:避免代码爆红,智能错误检测插件
{
"explorer.confirmDelete": false,
"vetur.validation.template": false,
"eslint.autoFixOnSave": true,
"files.autoSave":"off",
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"vue"
{ "language": "vue", "autoFix": true }
],
"eslint.options": {
"plugins": ["html"]
},
//为了符合eslint的两个空格间隔原则
"editor.tabSize": 2
}
3.vetur:vue语法高亮插件
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
}
4.Vue VSCode Snippets:vue中代码提示
--创建语句:vbase(创建基本模板)、vanim(创建transition标签)
5.TabNine :代码补全插件,支持多语言