WebStorm 提示 iView 标签错误

WebStorm 提示 iView 标签错误

WebStormiView 项目时, 满屏报红, 提示: ESLint: Parsing error: x-invalid-end-tag.(vue/no-parsing-error), 如何解决?

eslintrc.js 中添加下面内容:

rules: {
"vue/no-parsing-error": [2, {
"x-invalid-end-tag": false
}]
}

参考: https://github.com/iview/iview/issues/2828

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×