作者:TTTTTTTT-Tang | 来源:互联网 | 2023-06-06 19:28
首先打开Vs Code工具:
搜索wepy:安装如下大红框截图1所示,安装完成以后,
(图1)
2.Vs Code 快捷键 ctrl+shift+p 输入setting,选中如下截图第一项进入:图3是进入后的截图
图2
图3
增加图3红框配置:方便大家复制呢,详情见下面的文案
{
"workbench.startupEditor": "newUntitledFile",
"window.zoomLevel": 0,
"files.associations": {
"*.vue": "vue",
"*.wpy": "vue",
"*.wxml": "html",
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "Javascript",
},
"emmet.includeLanguages": {
"wxml": "html"
},
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
"minapp-vscode.disableAutoConfig": true
}