IDEA在安装了Vue.js 插件后,new时没有 Vue component。
解决方案:
File → Settings → Editor
Editor → File and Code Templates → Vue Single File Component → 复制右侧的内容(一定要复制)
新增 → 填写name →填写Extension → 把之前复制的内容粘贴至此 →apply →ok
然后我们回到项目,new,就会发现有了 Vue Component。
时间久了会我忘掉,写在此处相当于做个笔记了~