iview组件 eslint校验出错 Parsing error: x-invalid-end-tag
如下:
解决:
在.eslintrc.js文件中加上:
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 }] } }
Less interests,more interest!