完成后,高亮以及智能補全代碼.
1. 首先ctrl+shift+p打開擴展,安裝以下三個插件
2. 復制以下文件內容到你的vsCode配置
files.associations
1 { 2 "files.associations": { 3 "*.vue": "vue", 4 "*.wpy": "vue", 5 "*.wxml": "html", 6 "*.wxss": "css", 7 "*.cjson": "jsonc", 8 "*.wxs": "javascript" 9 }, 10 "emmet.includeLanguages": { 11 "wxml": "html" 12 }, 13 "emmet.syntaxProfiles": { 14 "vue-html": "html", 15 "vue": "html" 16 }, 17 "minapp-vscode.disableAutoConfig": true 18 }
好了,插件已經准備完畢. 我記得好像github上有一個微信、百度、阿里的互轉小程序工具. 娜娜奇 ,不過用微信編輯器寫的代碼能轉嗎?