Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 844 Bytes

tips.md

File metadata and controls

28 lines (20 loc) · 844 Bytes

TermHere

  1. 重置Mac的NVRAM后,TermHere不能右键在当前目录打开终端。

    解决方法:偏好设置->扩展,取消TermHere,然后再选中,然后又能用了。

vue

  1. npm run dev报错:

    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.config.js中的

    test: /\.(js|vue)$/,
      loader: 'eslint-loader',
      enforce: 'pre',
      include: [resolve('src'), resolve('test')],
      options: {
        formatter: require('eslint-friendly-formatter'),
        emitWarning: !config.dev.showEslintErrorsInOverlay
      }

    或者找到config\index.js,将useEslint:true改为false,问题解决。