0
点赞
收藏
分享

微信扫一扫

VUE项目启动:You may use special comments to disable some warnings


  • 【原因】:Eslint的检测机制。
  • 解决方法①:在build/webpack.base.conf.js文件中注释掉第44行代码,如下图,重新yarn start 或者npm run dev

VUE项目启动:You may use special comments to disable some warnings_重新启动

  • 解决方法②:在config/index.js文件中第26行中的useEslint的值改为false,如下图,然后重新启动程序

VUE项目启动:You may use special comments to disable some warnings_解决方法_02

 

举报

相关推荐

0 条评论