地址:https:youzan.github.io/vant-weapp1.

1.右击miniprogram--选择“在终端打开”–命令行输入:npminit(一直回车)

2.

2.继续在上一步的命令行输入:npmivant-weapp-S--production(安装组件库)

3.

3.点击“工具”--选择“构建npm”

4.

4.点击“详情”--勾选上“使用npm模块”

5.

5.在对应的.json文件中“usingComponents”添加相应组件信息(如"van-button":“path/to/vant-weapp/dist/button/index”)

TAG标签: 使用微信小程序第三方UI工具VantWeapp微信第三方工具微信小程序怎么搭建

http://www.xiaochengxub.com/read-96688.html