If you want the editor to recognize vue files, you need to install the vue plug-in. Vetur is easy to use on VSCode. So how to install vetur?
Installation method:
Click on the app store icon on the left, the plug-in menu will pop up, enter vetur
If it is not installed, the installation button will appear. Click the "Install" button to install it.
After the installation is completed, restart VSCode and the vue file will be recognized, which is convenient for us to write code.
Related recommendations: vscode tutorial
The above is the detailed content of How to install vetur in vscode?. For more information, please follow other related articles on the PHP Chinese website!