ant-move / antmove Goto Github PK
View Code? Open in Web Editor NEW小程序转换器,基于支付宝/微信小程序, 轻松地转换成其它平台的小程序。
Home Page: https://ant-move.github.io/guide/
小程序转换器,基于支付宝/微信小程序, 轻松地转换成其它平台的小程序。
Home Page: https://ant-move.github.io/guide/
vscode 装好了插件运行 Antmove: Run antmove wx-alipay ,报错 command 'extension.antmove' not found
win10
Antmove: Run antmove wx-alipay
RT
微信小程序转支付宝小程序之后,自定义组件使用报错,找不到组件,生成的_antmove》api》relations.js文件是做什么用的,跟项目中的组件有什么关联
通过 命令行方式转换的,,,通过 vscode上,输入 Antmove之后会出现Run antmove,点击后出现本项目的目录,确定后让我选择文件夹,请问这一步是什么意思?应该怎么操作,我新建文件夹点击确定后右下角提示我转换成功,但是找不到转换后的项目
removeStorageSync
而不是 clearStorageSync
想从微信小程序转百度小程序,但是目前只能通过先转支付宝小程序再转百度。
但是在从支付宝再转百度的时候,出现了JSON.parse解析错误的问题,我debug了一下代码,对于以下代码有点疑问
//alipay-baidu-plugin/lifeStyle/index.js 342行
content = fs.readFileSync(fileInfo.path);//这里不是utf8,是不是考虑特殊文件呢
const appData = JSON.parse(content);
如果是图片的话。返回类型(不管fs.readFileSync的类型是utf8),都不适用于JSON.parse。
(顺便说一下,百度搬家工具的效果好一点😂,所以还是期待wx-baidu-plugin能有好的效果)
描述下你遇到的问题
运行antmove命令时出现的报错信息
无
在IDE或者真机上调试时出现的报错信息
转
使用 node.js 的方式进行转换
提示 lifeCycles is undefined
node_modules/antmove/src/transform/index.js:28:24
目前我是回退到1.1.0 版本是能够使用的 最新版本我选择生成文件夹之后 没有任何反应 也没有任何文件产生
微信:
wx.getExtConfig({ success: res => { this.globalData.ext = res.extConfig; } })
转换后:
_my.getExtConfig({ success: res => { this.globalData.ext = res.extConfig; } })
正确的:
this.globalData.ext=_my.getExtConfigSync()
执行微信小程序转支付宝小程序,在处理空的wxml文件时,抛出了
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'type' of undefined
_antmove文件下面的component文件中的utils下面的watchShakes.js文件是干什么用的,里面 let info = my.getStorage({
key: '__antmove_loginfo'
}).data是做什么用的,这个_antmove文件可以删除吗
运行 wx2tt -i ./my-mp/pages/test/test.wxml -o ./my-tt/pages/test.ttml,报错:test.wxml is not a wx miniprogram project
在执行 微信小程序转支付宝小程序,处理 Javascript class 语法时抛出以下错误:
UnhandledPromiseRejectionWarning: SyntaxError: unknown: Support for the experimental syntax 'classProperties' isn't currently enabled
其中,babel
给出提示:
Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation.
RT
描述下你遇到的问题
组件 created: function () {
this.data=Object.assign(this.data,JSON.parse(JSON.stringify(rawData)) ) ;//rawData 组件原始data
}
this.data 页面跳转后 留存了上一次的信息
运行antmove命令时出现的报错信息
在IDE或者真机上调试时出现的报错信息
转h5才是王道啊
问题:Error: page 'pages/my/my' not found!
at r (af-appx.worker.ide.min.js:7)
at z.O [as newPage] (af-appx.worker.ide.min.js:7)
at af-appx.worker.ide.min.js:7
切换编译模式其他页面页出现了这样的问题
转换完成后想打赏发现没有二维码?
描述下你遇到的问题
运行antmove命令时出现的报错信息
在IDE或者真机上调试时出现的报错信息
vscode插件提示转换成功,但是没发现任何文件。
只提示
欢迎使用蚂蚁搬家工具,您的项目已成功完成转换。
但是,什么都没有产生
看你们貌似在amove中使用了类的公有变量,然而这个feature得node12.4.0才支持吧,在readme或者package中说明下?或者你们使用转换后的版本fix下?
命令行安装antmove
npm install antmove -g
切换到微信小程序所在目录
antmove wx-baidu ./dist/baidu-app
然后报错
TypeError: Cannot read property 'forEach' of undefined
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\antmove\node_modules\wx2\src\util\progress.js:15:19
at FSReqCallback.oncomplete (fs.js:171:23)
run error: ENOENT: no such file or directory, stat 'D:\testspace\antmoveMini\dist_antmoveDist'
Error: ENOENT: no such file or directory, stat 'D:\testspace\antmoveMini\dist_antmoveDist'
(node:21120) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, scandir 'D:\testspace\antmoveMini\dist_antmoveDist'
at Object.readdirSync (fs.js:1021:3)
at fileUtils.emptyFiles (C:\Users\Administrator\AppData\Roaming\npm\node_modules\antmove\node_modules@antmove\utils\src\file.js:115:6)
at module.exports (C:\Users\Administrator\AppData\Roaming\npm\node_modules\antmove\node_modules@antmove\wx-baidu\index.js:36:9)
(Use node --trace-warnings ...
to show where the warning was created)
(node:21120) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection
id: 1)
(node:21120) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
导出支付宝小程序 资源包大于20M,导致上传失败
现在想自己搬运vant组件库到支付宝,但是官网好像并没有提到怎么搬运组件库,求指教
想使用antmove,可是项目全部是通过自定义组件的方式实现的,没有使用Page构造器,转换完还学要在所有页面添加Page构造器才能运行
Originally posted by @hanlizhi in #1 (comment)
微信小程序转支付宝小程序
TypeError: Cannot read property 'getRootNode' of undefined
at Object._opts.onReady (page.js:41)
啥时候出快手小程序转微信/微信转快手
将支付宝小程序转微信,转的时候没有提示 按照步骤操作完没有反应
运行antmove命令时出现的报错信息
在IDE或者真机上调试时出现的报错信息
微信小程序转换支付宝小程序样式没了
需要使用abort()来阻止请求 但是无效
使用官方的my.request 可以
packages/@antmove/utils/src/getAntmoveConfigJs.js
该目录下的变量antmoveConfigDist没有声明
支付宝小程序转微信小程序,支付宝中,转成微信后,会变成绝对路径,必须手动修改成相对路径,如果引用的地方过多,挺麻烦的
支付宝中
转化后的微信中
使用iview-aliapp-dd 组件库 在钉钉小程序里面 使用 grid-item 编译不通过
antmove 1.2.13
操作系统:
钉钉小程序开发者工具: 2.1.9
iview-aliapp-dd:1.0.3
Antmove将微信小程序转支付宝小程之后.a-image和.a-view样式是如何生成的,如何去掉,转换之后发现自己写的样式有时候会被.a-image和.a-view的样式覆盖掉,请问这个样式是如何生成的,如何才能去掉
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.