详情如下图

这行代码

"emmet.syntaxProfiles": {
    "vue-html":"html",
    "vue":"html"
},
"files.associations": {
    "*.vue": "vue",
    "*.ejs": "html",
    "*.js": "javascript"
},

第二种解决办法:是因为我们的插件引起的。
设置json中不需要改变

"emmet.syntaxProfiles": {
    "vue-html":"html",
    "vue":"html"
},
"files.associations": {
    "*.vue": "vue",
    "*.ejs": "html",
    "*.js": "html"
},

需要做的是在设置中 -- 搜索设置中输入

image.png

把这个选框去掉,然后就可以了。


ClearBoth
25 声望3 粉丝

Hello World!