IDEA supports the creation of *.VUE files

Step 1: Install the vue plugin first:

file --> settings --> plugins, then do not need to enter anything, just click Browse repositories...

 

Immediately enter "vue" at the top left and click on vue.js in the search results. There will be a green install button on the right. After the installation is successful, restart the idea so that the idea can recognize the .vue file.

Step 2: Set up the vue new file template.

file-->setting-->editor-->file and code Templates, select Vue File, and then you can edit the default template content in the box on the right, and click "ok" after editing.

 

In this way, the .vue file can be created through the new option.

But you can't open *.vue files, you need to add file type

Guess you like

Origin blog.csdn.net/qq_39999478/article/details/106311417