【已解决】 vue中debugger报错 unexpected ‘debugger’ statement
七娃博客
1,504人阅读
http://eslink.org/docs/rules/no-debugger Unexpected ‘debugger’ statement no-debugger
eslink规则没有开启'debugger' ,被规则屏蔽了,需要手动放开
https://cn.eslint.org/docs/rules/no-debugger
方案一:
找到.eslintrc.js 的“rules",将”no-debugger的值‘2’改为‘0’
方案二:
1. 找到项目中的 package.json 文件
2. 找到 eslintConfig 配置参数
3. 在 eslintConfig 下的 rules 添加 “no-debugger”: “off”
主题开源不易,支持一下作者吧!
使用支付宝打赏
使用微信打赏
评论 | 0 条评论
登录之后才可留言,前往登录