0.3.0 • Published 3 years ago
poio v0.3.0
通用
- xgulp配置(参见iview-weapp)
数据管道
- x常旅
- 航线
- 航班
工具类
- x类型判断
- 日期Date
- 数组Array
- Number
- Http
- Storage 储存操作
小程序组件
采用iview-weapp基础架构
如何使用
将 dist
目录拷贝到自己的项目中,然后按照如下的方式使用组件,以 Button 为例,其它组件在对应的文档页查看:
1.添加需要的组件。在页面的 json 中配置(路径根据自己项目位置配置):
"usingComponents": {
"i-button": "../../dist/button/index"
}
2.在 wxml 中使用组件:
<i-button type="primary" bind:click="handleClick">这是一个按钮</i-button>