- 点击文件 -> 首选项 -> 设置(或者:编辑器左下角设置按钮)
- 点击右上角打开设置图标
- 添加配置代码:
"files.associations": {
"*.vue": "vue",
"*.wxml": "html",
"*.wxss": "css",
},
"files.associations": {
"*.vue": "vue",
"*.wxml": "html",
"*.wxss": "css",
},