做vue项目遇到的问题(一)报错: Module Error (from ./node_modules/eslint-loader/index.js)
/src/App.vue Module Error (from ./node_modules/eslint-loader/index.js):D:\毕业设计\dormitory\src\App.vue3:1errorTrailing spaces not allowedno-trailing-spaces✖ 1 problem (1 error, 0 warnings)1 error and 0
·
/src/App.vue Module Error (from ./node_modules/eslint-loader/index.js):
D:\毕业设计\dormitory\src\App.vue 3:1 error Trailing spaces not allowed no-trailing-spaces ✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the --fix
option.
解决方案:
1.在根目录下创建vue.config.js
2.在文件内输入以下代码:
更多推荐
已为社区贡献1条内容
所有评论(0)