问题描述:项目中使用debugger/console报错
error Unexpected ‘debugger’ statement no-debugger
error Unexpected ‘debugger’ statement no-debugger
解决办法:
1. 找到项目中的 package.json 文件
2. 找到 eslintConfig 配置参数
3. 在 eslintConfig 下的 rules 添加 “no-debugger”: “off”, “no-console”: “off”,
新建vue项目出现error Unexpected ‘debugger‘ statement no-debugger
4. 重启项目即可

相关文章:

  • 2021-08-31
  • 2022-12-23
  • 2021-07-14
  • 2021-08-07
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-12
  • 2021-11-17
  • 2022-12-23
  • 2021-04-03
  • 2021-04-23
  • 2022-01-08
相关资源
相似解决方案