Skip to content

xhye/wepy-wx-demo

Repository files navigation

微信小程序模版项目

Build Setup

# 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详细配置请看官网

Vant UI https://youzan.github.io/vant-weapp/#/intro

Docs

微信小程序模版说明文档

参考

小程序官方文档: https://developers.weixin.qq.com/miniprogram/dev/
wepy文档: https://tencent.github.io/wepy/document.html

About

a wepy-wx-demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages