Settings->Search for vetur" in the interface; then set "vetur.validation.template" to "false"; finally save the settings That’s it."/> Settings->Search for vetur" in the interface; then set "vetur.validation.template" to "false"; finally save the settings That’s it.">

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

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

藏色散人
藏色散人Original
2020-04-08 09:43:014553browse

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!

Statement:
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