vue中npm run dev 报错(eslint规则)
1.报错了。。。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.2.在build/webpack.bas...
·
1.报错了。。。
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.
2.在build/webpack.base.conf.js文件中,注释或者删除掉:module->rules中有关eslint的规则。
3.如果还报错,在main.js中检查是否空了多行,删除多余的空白行,最多只能空一行。
4.然后 nmp run dev 就能正常运行了
更多推荐
已为社区贡献10条内容
所有评论(0)