Setting--Extensions:
1. vscode weapp api
2. vscode wxml
3. vscode-wechat
4. Easy WXLESS
使用wepy框架还需要的插件:
1.wepy sinppets
2.minapp
3.wpy-beautify
4.vue
复制以下文件内容到你的vsCode配置
files.associations
{
"files.associations": {
"*.vue": "vue",
"*.wpy": "vue",
"*.wxml": "html",
"*.wxss": "css",
"*.cjson": "jsonc",
"*.wxs": "javascript"
},
"emmet.includeLanguages": {
"wxml": "html"
},
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
"minapp-vscode.disableAutoConfig": true
}
网友评论