Vue:使用IDEA开发Vue的相关配置
发布时间:2024年01月01日
一、IDEA无法识别.vue文件
1、IDEA 添加Vue插件

2、添加Vue配置
File | Settings | Editor | File Types
找到 HTML
文件
在下面点+
号
输入*.vue

二、IDEA无法创建.vue文件
1、问题
在开发过程中,发现创建文件的界面,没有vue
模板

2、相关配置
File | Settings | Editor | File and Code Templates
选中+
,找到Vue Single File Component
,点击复制按钮,此时底部出现Copy of Vue File Component


进行如下图修改

3、最终效果

文章来源:https://blog.csdn.net/Brave_heart4pzj/article/details/135327917
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:chenni525@qq.com进行投诉反馈,一经查实,立即删除!