vscode vetur外掛取消元件屬性強制換行

lwx434697發表於2018-12-11

vscode setting setting.json 在使用者設定裡面新增以下引數

"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_line_length": 120,
"wrap_attributes": "auto",
"end_with_newline": false
}
},
"vetur.format.defaultFormatter.html": "js-beautify-html"

(來自 https://blog.csdn.net/solocao/article/details/84641595 曹天驕)


相關文章