运行vue项目时报错: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.
原因:
由于vue对语法的限制过于严格,所以运行时会报错
解决办法:
进入项目中的build目录,找到webpack.base.conf.js文件,注释或删除eslint规则