npm run serve 后报出以下错误:
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.

上网搜了以下发现是eslint的问题,解决方案如下:
在vue.js.config中添加这行代码,问题就解决了。

博客主要讲述npm run serve后报错,经搜索发现是eslint问题。给出的解决方案是在vue.js.config中添加特定代码,添加后问题得以解决。
2301

被折叠的 条评论
为什么被折叠?



