vue cli 3.x 设置4个空格缩进:

  1. 文件.editorconfig中,indent_size = 2修改为indent_size = 4
  2. 文件 .eslintrc.js 添加一行:'indent': ['error', 4, { 'SwitchCase': 1 }]

相关文章:

  • 2021-09-27
  • 2021-09-18
  • 2021-06-13
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
猜你喜欢
  • 2021-08-17
  • 2021-11-08
  • 2021-12-27
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
相关资源
相似解决方案