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

阅读 71

2023-05-26


  • 【原因】: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)

0 0 举报