=> $ npm i vant-weapp -S --production (或者yarn)
=> 开发者工具中: Tools => Build npm
=> build成功之后会生成 miniprogram_npm 文件
=> 之后即可引用vant组件,example:
cloud/cloud.json文件中
{
"usingComponents": {
"van-button": "../../miniprogram_npm/vant-weapp/button/index"
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
pypwho/YiBo-miniP
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
微信小程序入门Demo
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published