Home >Development Tools >VSCode >vscode reports error when opening vue file

vscode reports error when opening vue file

王林
王林Original
2020-02-13 15:33:485234browse

vscode reports error when opening vue file

Solution:

1. First check the html fragment. If there is no grammatical error, it is caused by a plug-in "vetur" that checks the grammatical format.

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

vscode reports error when opening vue file

Recommended related articles and tutorials: vscode tutorial

The above is the detailed content of vscode reports error when opening vue file. 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