Module Error (from ./node_modules/eslint-loader/index.js):
C:\Users\Administrator\Desktop\项目实战day1\code\vue_shop\src\router.js
7:1 error Expected indentation of 2 spaces but found 4 indent
8:3 error Newline required at end of file but not found eol-last
✖ 2 problems (2 errors, 0 warnings)
2 errors and 0 warnings potentially fixable with the --fix
option.
解决方法:
1.在项目中找到eslintrac.js
2.注释掉标注的代码即可,亲试有效
执行npm run serve出现这种问题怎么解决,来,看这里
最新推荐文章于 2024-08-21 13:34:38 发布