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()] : []),

即可运行。

  

相关文章:

  • 2021-10-20
  • 2021-06-15
  • 2022-12-23
  • 2021-04-25
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2023-03-10
  • 2021-08-07
  • 2021-12-02
  • 2021-05-21
  • 2022-12-23
相关资源
相似解决方案