Home > Development Tools > VSCode > How to solve the problem of vscode+vue+ red line error

How to solve the problem of vscode+vue+ red line error

藏色散人
Release: 2020-04-08 09:43:01
Original
4559 people have browsed it

How to solve the problem of vscode+vue+ red line error

How to solve the problem of red line error in vscode vue?

The specific error report is as shown in the figure:

Recommended related tutorials: vscode tutorial

How to solve the problem of vscode+vue+ red line error

Solution:

1. First check if there are no grammatical errors in the html fragment. It is caused by a plug-in "vetur" that checks the grammatical format.

2, the solution is: vscode -> Preferences -> Settings -> Search (vetur), set vetur.validation.template to false to solve the problem.

How to solve the problem of vscode+vue+ red line error


The above is the detailed content of How to solve the problem of vscode+vue+ red line error. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template