Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The solution of vscode+vue+ Red Line error report

Shulou Source: shulou.com Published: 2022-06-02 15:17:59 11月15日 Update

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!

Tags: Methods articles red lines grammar questions checks values interests and at the same time plug-ins more friends formats fragments knowledge editing industry information information channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux OPPO Reno Huawei NVidia Xiaomi