vue 有效去除eslint 限制
1.导入插件
npm install babel-plugin-transform-remove-strict-mode
2.项目根目录新建文件 .babelrc
3.文件添加配置
{ "plugins": ["transform-remove-strict-mode"] }
如果以上无效 参考:https://blog.csdn.net/qq_36538012/article/details/107484442
⎛⎝官萧何⎠⎞一只快乐的爪哇程序猿;邮箱:1570608034@qq.com