vue报错问题集

1、打包运行的时候,过滤eslint语法检查,即报这个错的时候:

Errors:
  3  http://eslint.org/docs/rules/indent

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.

解决方法:webpack.base.conf.js文件中找到

      ...(config.dev.useEslint ? [createLintingRule()] : []),

并注释掉

    //  ...(config.dev.useEslint ? [createLintingRule()] : []),

即可运行。

  

posted @ 2020-03-19 14:31  小白啊小白,Fighting  阅读(213)  评论(0编辑  收藏  举报