文件????首选项????设置   ????工作区 粘贴以下代码

"vetur.format.defaultFormatter.html": "js-beautify-html",
  "vetur.format.defaultFormatter.js": "vscode-typ=script",
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_attributes": "auto"
    },
    "prettyhtml": {
      "printWidth": 100,
      "singleQuote": false,
      "wrapAttributes": false,
      "sortAttributes": false
    }
  },

  

相关文章:

  • 2022-12-23
  • 2021-04-05
  • 2021-08-31
  • 2021-06-06
猜你喜欢
  • 2021-10-06
  • 2021-07-28
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
相关资源
相似解决方案