Fixing x-invalid-end-tag lint error on Vuejs
My situation is:
- Coding with vue in a Vue file.
- Using the Vetur plugin in VS code
It then generates an error of type x-invalid-end-tag in a quite random fashion. To solve it, I have found one simple trick in this github issue:
// .eslintrc.js
module.exports = {
//... rules:
{
'vue/no-parsing-error': [2, { 'x-invalid-end-tag': false }]
}
}
