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