ctrl + shift + p
> Configure Language Specific Settings > Vue > 编辑文件.
下面是我目前的配置, 添加与vue相关的那些行即可.
{ "window.zoomLevel": 2, "explorer.confirmDelete": false, "[vue]": { "editor.formatOnSave": true, }, "files.associations": { "*.vue": "vue" }, "vetur.format.defaultFormatter.html": "js-beautify-html"}
作者:柳正来
链接:https://www.jianshu.com/p/c0340086b65b