首页 > 其他 > 详细

VUE中使用的插件有哪些?为什么,不能自动补全,script,methods和export default?

时间:2020-04-12 09:44:19      阅读:65      评论:0      收藏:0      [点我收藏+]

老师就推荐了一个vue插件,叫vetur,但是为什么,不能自动补全,script,methods和export  default?

步骤

1. 先安装好 vetur

2. cmmond + , 在右侧配置相中添加如下代码(这个怎么找啊,草)

"emmet.syntaxProfiles": {
        "vue-html": "html",
        "vue": "html"
}

  另一种配置是

在设置中 搜索emmet 然后在用户设置区粘贴如下

"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html"
},
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
}

  

VUE中使用的插件有哪些?为什么,不能自动补全,script,methods和export default?

原文:https://www.cnblogs.com/cn-oldboy/p/12683423.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!