# install wepy-cli for gloabl (or use yarn)
npm install wepy-cli -g
# install dependencies
npm install
# serve with hot reload
npm run dev
# build for production with minification
npm run build
#Vant UI使用方法
# 1.在页面config配置组件
config = {
usingComponents: {
'van-button': '../../components/vant/button/index'
}
}
# 2.在template下面直接使用
<van-button size="large" type="primary">按钮</van-button>
Vant UI https://youzan.github.io/vant-weapp/#/intro
小程序官方文档: https://developers.weixin.qq.com/miniprogram/dev/
wepy文档: https://tencent.github.io/wepy/document.html