1. 程式人生 > 其它 >配置vue腳手架專案儲存自動規範化

配置vue腳手架專案儲存自動規範化

技術標籤:vue

在此檔案中配置如下資訊

"editor.formatOnPaste":false,
"editor.formatOnSave":false,
"editor.formatOnType":false,
"editor.codeActionsOnSave":{
"source.fixAll.eslint":true
},
"vetur.format.defaultFormatter.js":"none",
"[vue]":{
"editor.defaultFormatter":"octref.vetur"
},

需要安裝vetur , ESLint , Prettier - Code formatter, 三個外掛