The solution of vscode+vue+ Red Line error report
This article mainly introduces the vscode+vue+ red line error solution, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
How to solve the problem of red line error in vscode+vue+?
The specific error report is as shown in the figure:
Solution:
1. First check that there are no syntax errors in the html fragment, which is caused by a plug-in "vetur" that checks the syntax format.
2. The solution is vscode-> preferences-> Settings-> search (vetur). Setting vetur.validation.template to false can solve the problem.
Thank you for reading this article carefully. I hope the article "the solution to vscode+vue+ Red Line error report" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!