✘ http://eslint.org/docs/rules/semi Extra semicolon
src\main.js:4:35
import ElementUI from 'element-ui';
^
✘ http://eslint.org/docs/rules/semi Extra semicolon
src\main.js:5:46
import 'element-ui/lib/theme-chalk/index.css';
^
✘ http://eslint.org/docs/rules/no-multiple-empty-lines More than 1 blank line not allowed
src\main.js:8:1
^
✘ http://eslint.org/docs/rules/semi Extra semicolon
src\main.js:11:19
Vue.use(ElementUI);
查看报错日志,发现是警告引起的。
解决办法:取消Eslint的检测机制,将userEslint的值改为false即可,在config目录下的index.js找到useEslint: true,改为 useEslint: false