by zhangdaren

Try to transform Weixin miniprogram project to Uni-app project

548 Stars 107 Forks Last release: Not found MIT License 96 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

转换各种小程序为 uni-app 项目

支持转换微信、QQ、头条/抖音、支付宝/钉钉和百度等小程序转换到 uni-app 项目

输入小程序项目路径,即可输出 uni-app 项目。

安装(请在 CMD 或终端里直接输入即可安装,无须下载代码!!!)

$ npm install miniprogram-to-uniapp -g


$ npm update miniprogram-to-uniapp -g


Usage: wtu [options]


-V, --version output the version number [版本信息] -i, --input the input path for weixin miniprogram project [输入目录] -h, --help output usage information [帮助信息] -c, --cli the type of output project is vue-cli, which default value is false [是否转换为vue-cli项目,默认false] -w, --wxs transform wxs file to js file, which default value is false [是否将wxs文件转换为js文件,默认false] -z, --vant transform vant-weapp project to uni-app, automatic check [是否支持转换vant项目,默认为false] -r, --rename rename to, which default value is true [是否转换为,默认true] -m, --merge merge wxss file into vue file, which default value is true [是否合并wxss到vue文件,默认true]


$ wtu -i ./miniprogram-project

vant 小程序转换为 uni-app 项目:

$ wtu -i ./miniprogram-project -z

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.