1、在设置中搜索vetur,找到对应位置,选择js-beautify-html
2、在setting.json中添加代码即可
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "auto",
"wrap_line_length": 12000,
"end_with_newline": false
}
},
1、在设置中搜索vetur,找到对应位置,选择js-beautify-html
2、在setting.json中添加代码即可
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "auto",
"wrap_line_length": 12000,
"end_with_newline": false
}
},