安裝
注意區(qū)分vant-weapp 和 vant
1、打開微信開發(fā)者工具新建小程序快速模板
2、npm?init
3、npm?install?--production
4、 npm?i?vant-weapp?-S?--production
5、在微信開發(fā)工具執(zhí)行npm?構建,本地設置勾選使用npm模塊
6、應用vant-weapp(可以在app.json全局使用)
{
??"usingComponents":?{
????"van-button":?"../../miniprogram_npm/vant-weapp/button/index"
??}
}
<van-button?type="primary">按鈕</van-button>
不和諧的地方
1、
van-notice-bar:更改背景色?background-color (文檔上是background)

2、van-grid
