vscode-->文件-->搜选项-->设置
"editor.tabSize": 2, // 2缩进
"vetur.format.defaultFormatter.html": "js-beautify-html",// 安装vetur插件
"editor.detectIndentation": false,// 因为vscode默认启用了根据文件类型自动设置tabsize的选项,在设置中添加
vscode-->文件-->搜选项-->设置
"editor.tabSize": 2, // 2缩进
"vetur.format.defaultFormatter.html": "js-beautify-html",// 安装vetur插件
"editor.detectIndentation": false,// 因为vscode默认启用了根据文件类型自动设置tabsize的选项,在设置中添加