
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
vant-aliapp
Advanced tools
Vant Aliapp 是移动端 Vue 组件库 Vant 的支付宝小程序版本,两者基于相同的视觉规范,提供一致的 API 接口,助力开发者快速搭建小程序应用。
Vant Aliapp 通过 Antmove 小程序转换器基于 Vant-Weapp 转换得到,并做了少量的兼容适配调整。
在开始使用 Vant Aliapp 之前,你需要先阅读 支付宝小程序自定义组件 的相关文档。
npm i vant-aliapp -S --production
yarn add vant-aliapp --production
npm 使用 example(vant-alipay-area)。
直接通过 git 下载 Vant Aliapp 源代码,并将alipay/vant-app目录拷贝到自己的项目中
git clone https://github.com/ant-move/Vant-Aliapp.git
以按钮组件为例,只需要在 json 文件中引入按钮对应的自定义组件即可
{
"usingComponents": {
"van-button": "/path/to/vant-app/dist/button/index"
}
}
npm 地址:
vant-aliapp/dist/button/index
接着就可以在 axml 中直接使用组件
<van-button type="primary">按钮</van-button>
下载本项目到本地,使用支付宝 IDE 打开 alipay/vant-app 即可预览。
预览时请在项目详情设置中开启
component2编译,详情可参考支付宝小程序自定义组件使用介绍。
如果您在使用的过程中碰到问题,可以通过下面几个途径寻求帮助。
本项目基于 MIT协议,请自由地享受和参与开源。
感谢 vant 团队对 vant-weapp 的贡献,本项目基于 vant-weapp 转换而来,并做了支付宝小程序平台的适配兼容。
FAQs
vant alipay mini app components
We found that vant-aliapp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.