先安装vue插件:

file --> settings --> plugins-->vue.js-->install

2020版IDEA新建打开*.vue文件

设置vue文件模板。

file-->setting-->editor-->file and code Templates,选择Vue File,然后可以在右边框中编辑默认模板内容,编辑完点击“ok”。

2020版IDEA新建打开*.vue文件

2020版不需要添加file type可以直接打开。

 

刚接触idea不是很熟练,file-new 一些文件不显示快捷方式,也没找到更多或搜索选项。后续教程补上

相关文章:

  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2021-07-16
  • 2021-12-24
  • 2021-12-30
  • 2021-06-07
猜你喜欢
  • 2022-12-23
  • 2021-12-07
  • 2021-12-01
  • 2022-12-23
相关资源
相似解决方案