在vue項目中關閉ESLint方法:找到build文件夾--->webpack.base.conf.js---->module vue
將這些代碼註釋掉,如圖: webpack
而後重啓服務, web
1 npm
npm run dev ui
npm run dev
就能夠了。 code