How to stop vue error messaging in code in vscode from the vetur extension

172 Views Asked by At

I have the vetur extension installed which handles error messaging in code. The problem is that my code works perfectly but the vetur extensions shows all red lines under my code which I don't want.

Does anyone know how to solve this problementer image description here

1

There are 1 best solutions below

1
Jason Landbridge On

If you're using Vue.js V2, then you can only have 1 child tag inside the <template> tag. That's most likely the error you're seeing