vue—解决“You may use special comments to disable some warnings.Use // eslint-disable-next-line to ...

启动vue时:出现下面错误

1. vue启动运行时出现以下错误:

这是因为语法错误,不是代码异常,代码的格式出错。

2.解决

在config目录下index.js中把useEslint: true,修改为useEslint: false,即可

猜你喜欢

转载自blog.csdn.net/zhh_5/article/details/117988427