vsCode配置
"vetur.format.defaultFormatter.html": "js-beautify-html", "vetur.format.defaultFormatterOptions": { "js-beautify-html": { "wrap_line_length":0,// 设置多个字符后换行 0 表示忽略 "wrap_attributes":"auto", //html 标签属性 换行设置[auto|force|force-aligned|force-expand-multiline] ["auto"] "end_with_newline":false // 在文件结尾添加新行 }, "prettier": { "semi": false, //要不要分号 "singleQuote": true //单引号 }, "prettyhtml": { "printWidth": 300, "singleQuote": false, "wrapAttributes": false, "sortAttributes": false } },
道阻且长,行则将至!