默认情况webstorm在.vue文件上Ctlr + Alt + L的话,.vue格式化之后的JavaScript和css代码不符合Eslint的配置
修改方法如下

点击webstorm的File -> Settings -> Editor -> Code Style
webstorm自动格式化.vue文件并符合Eslint

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
猜你喜欢
  • 2021-11-07
  • 2021-08-09
  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
  • 2021-08-29
  • 2022-12-23
相关资源
相似解决方案