idea 安装 Vue 插件没有Vue component选项

原文链接:https://www.pianshen.com/article/79311284017/

  1. 点击 file 打开设置 settings,展开 Editor 找到 file and code templates

  2. 找到 Vue single file component 并选中它,然后点击copy

  3. 复制后底部出现了一个新的文件

  4. 把 Name 改成 Vue Component,然后把代码里的 “COMPONENT_ ”删掉,最后点 ok 就完事了

然后我们再新建一个文件的时候就可以看到有 Vue Component 选项了!

posted @ 2020-11-18 10:26  LANGKYE#  阅读(2996)  评论(0编辑  收藏  举报