iview組件 eslint校驗出錯 Parsing error: x-invalid-end-tag

 以下:vue

 

解決:async

 

在.eslintrc.js文件中加上:spa

  rules: {
    // allow async-await
    'generator-star-spacing': 'off',
    // allow debugger during development
    'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
    "vue/no-parsing-error": [2, { "x-invalid-end-tag": false }]
  }
}

 

 

 

 

相關文章
相關標籤/搜索