在一些项目中,我们常看见这样的布局,当标签属性太长时进行换行操作,这又是如何实现的呢 ?
在设置中,其中需要安装js-beautify-html插件
"vetur.format.defaultFormatterOptions": {
"wrap_attributes": "force-expand-multiline"
"js-beautify-html": {
"wrap_attributes": "force-expand-multiline",
"end_with_newline": false
}
}
版权声明:本文为qq_36365712原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。