wepy

 完成后,高亮以及智能补全代码.

 

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上有一个微信、百度、阿里的互转小程序工具. 娜娜奇 ,不过用微信编辑器写的代码能转吗

 

原文地址:https://www.cnblogs.com/cisum/p/9852571.html