
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.
冠美基础组件库。
本项目 copy 自vant-weapp@1.10.16。通过转换工具扩展到【京东】、【支付宝/淘宝】、【飞书/抖音】3 个平台版本。自第一次构建后,4 个平台独立维护。
使用 Vant Weapp 前,请确保你已经学习过微信官方的 小程序简易教程 和 自定义组件介绍。
小程序已经支持使用 npm 安装第三方包,详见 npm 支持
# 安装 支付宝/淘宝
npm i @gmkj/vant-my -S --production
# 安装 微信
npm i @gmkj/vant-wx -S --production
# 安装 飞书/抖音
npm i @gmkj/vant-tt -S --production
# 安装 京东
npm i @gmkj/vant-jd -S --production
直接通过 git 下载 Vant Weapp 源代码,并将 dist 目录拷贝到自己的项目中。
git clone https://gitee.com/chongqings_crown_and_beauty/gm-vant.git
以按钮组件为例,只需要在 json 文件中引入按钮对应的自定义组件即可
{
"usingComponents": {
"van-button": "/path/to/vant-weapp/dist/button/index"
}
}
接着就可以在 wxml 中直接使用组件
<van-button type="primary">按钮</van-button>
# 安装项目依赖
npm install
# 执行组件copy
npm run build
打开微信开发者工具,把/examples/wecaht目录添加进去就可以预览示例了。
FAQs
#### 介绍
We found that @gmkj/vant 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.