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 选项了!


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM