错误信息
Failed to compile.
./src/components/login.vue
Module Error (from ./node_modules/eslint-loader/index.js):
C:\Users\admin\Desktop\vue_element\vue_project\src\components\login.vue
13:9 error Newline required at end of file but not found eol-last
✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
解决办法
其实上面已经指名了出现错误的地方你login.vue文件的第13行第9个字符左右报错,
大概意思是,需要一个换行符,你没有,添加以下就行了,
其实这一类的错误还有缺了个逗号,需要使用单引号不能使用双引号等,
他都会提示的很精确,只要你细心分析