
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@gmove/wx-alipay
Advanced tools
wx-alipay-plugin,Antmove工具下实现微信转换到支付宝小程序的方案。
一键实现微信小程序项目到支付宝小程序的迁徙,不再为重复开发而烦恼。 支付宝小程序请开启
component2编译配置,详情参考 https://docs.alipay.com/mini/framework/custom-component-overview
在 VsCode 扩展中搜索 Antmove 下载安装 Antmove vscode 转换插件实现一键转换。
安装扩展(Antmove - antmove-vscode-plugin)
在 VsCode 中打开要转换的项目
打开 VsCode 命令面板
command + shift + pctrl + shift + p输入 Antmove
运行 Antmove: Run antmove wx-alipay 命令,实现微信小程序转换支付宝小程序的转换
运行如上命令后会给出一个弹窗,选择转换后生成代码存储目录
转换完成
本插件依赖于 vscode 代码编辑器,安装了 vscode 的用户才能使用。
我们推荐使用 npm 或 yarn 的方式进行开发,不仅可在开发环境轻松调试,也可放心地在生产环境打包部署使用,享受整个生态圈和工具链带来的诸多好处。
$ npm install antmove -g
$ npm install antmove --save
如果你的网络环境不佳,推荐使用 cnpm。
通过 npm 或 yarn 全局安装才能使用如下命令行
提供两种可用的命令行调用方式
antmove wx-alipay(使用前请将终端切换到需转换编译的微信小程序项目路径)antmove wx-alipay ./dist/alipay-app
antmove - 该命令更加灵活,可配置输出输出目录/编译模式等antmove -i ./wechat-mini/project -o ./dist/alipay-mini/project --env development
如上的命令表示将
./wechat-mini/project微信小程序项目转换为支付宝小程序项目,转换到./dist/alipay-mini/project目录
--input,-i
--output,-o
--env,-e
--component,-c
--type,-t
--scope,-s
--component2
--platform
const path = require('path');
const transformFramework = require('antmove');
const WechatPlugin = require('@antmove/wx-alipay');
let outputPath = path.join(__dirname, '../../dist', 'alipaymini-demo');
let inputDirPath = path.join(__dirname, '../../examples/miniprogram-demo/miniprogram');
const App = transformFramework();
App.use(
WechatPlugin,
{
entry: inputDirPath,
dist: outputPath,
env: 'development',
type: 'wx-alipay',
})
.start();
transformFramework工具实例生成函数。
const transformFramework = require('antmove');
const App = transformFramework(); // 得到的 app 实例即可进行转换处理操作
Appuse | Function - App.use(plugin, pluginOptions) - 挂载插件到实例上,可挂载多个,按挂载顺序执行
plugin: 转换插件pluginOptions: 转换插件配置项
entry | String - 转换源码目录dist | String - 转换后代码输出目录env | String - 编译环境设置(env/prod)
start | Function - 开始编译操作
欢迎参与 Antmove 项目的开发建设和讨论。
提交 pull request 之前请先提 Issue 讨论.
如果您在使用的过程中碰到问题,可以通过下面几个途径寻求帮助。
FAQs
transform wechat miniprogram to alipay miniprogram tool.
We found that @gmove/wx-alipay demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.