Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimmyrogue/wepy-X-minui
wepy with minui
https://github.com/jimmyrogue/wepy-X-minui
Last synced: about 2 months ago
JSON representation
wepy with minui
- Host: GitHub
- URL: https://github.com/jimmyrogue/wepy-X-minui
- Owner: jimmyrogue
- Archived: true
- Created: 2017-11-24T06:38:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T08:28:01.000Z (over 6 years ago)
- Last Synced: 2024-07-27T14:33:26.869Z (6 months ago)
- Language: JavaScript
- Size: 212 KB
- Stars: 102
- Watchers: 7
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-wepy - wepy-X-minui:蘑菇街minui小程序UI组件库wepy版
README
# wepy-X-minui
wepy with minui
本项目仅供参考,如有疑问欢迎提issue,我会尽力解决。## min-cli 1.0.7-beta.6, wepy 1.7.0
## 使用方法
1、clone本项目
2、执行
```
npm iwepy build -w
```3、在小程序开发工具内新建小程序,并将目录指向dist目录
4、开始体验吧。
## 如何在已有的wepy项目中使用minui?
1、新建wepy项目(如果已有项目,则跳过)
2、新建配置文件:min.config.json
配置内容:
```
{
"compilers": {
"babel": {
"sourceMaps": "inline",
"presets": [
"env"
],
"plugins": [
"syntax-export-extensions",
"transform-class-properties",
"transform-decorators-legacy",
"transform-export-extensions"
]
}
}
}
```3、再通过 min install @minui/wxc-xxx 命令 安装需要的组件
```
$ min install @minui/wxc-loading
```4、在页面使用,this.$wxpage.selectComponent方法调用(详见index.wpy 以及 ![minui框架主页](https://github.com/meili/minui))