1 | # BeeUI
|
2 | A React NATIVE UI Libary.
|
3 |
|
4 | `issues`规范:
|
5 | - `feature` 功能 `bug` 故障
|
6 | - 优先级: `p0`: 日清 `p1`: 一周内 `p2`: 二周 `p3`: 月内
|
7 |
|
8 | ### 状态: `todo` 待开发, `doing` 进行中, `test` 待测试, `done` 已完成
|
9 |
|
10 | | 组件名称 | 描述 | 状态 | issues |
|
11 | |---------|------|------|----|
|
12 | | [Calender](https://github.com/blibee/BeeUI/tree/master/src/Calender) | 日历组件 | `done` | -- |
|
13 | | [Chart](https://github.com/blibee/BeeUI/tree/master/src/Chart) | 柱状图 | `done` | -- |
|
14 | | [Flex](https://github.com/blibee/BeeUI/tree/master/src/Flex) | Flex 布局 | `done` | -- |
|
15 | | [Grid](https://github.com/blibee/BeeUI/tree/master/src/Grid) | Grid 布局 | `done` | -- |
|
16 | | [Gallery](https://github.com/blibee/BeeUI/tree/master/src/Gallery) | 轮播图 | `done` | -- |
|
17 | | [Overlay](https://github.com/blibee/BeeUI/tree/master/src/Overlay) | 蒙层 | `done` | -- |
|
18 | | [Picker](https://github.com/blibee/BeeUI/tree/master/src/Picker) | 选择器, 目前只支持单选 | `done` | -- |
|
19 | | [Sheet](https://github.com/blibee/BeeUI/tree/master/src/Sheet) | 下方弹出框 | `done` | -- |
|
20 | | [TabBar](https://github.com/blibee/BeeUI/tree/master/src/TabBar) | Tab切换栏 | `done` | -- |
|
21 | | [TabScene](https://github.com/blibee/BeeUI/tree/master/src/TabScene) | Tab内容 | `done` | -- |
|
22 | | [Tools](https://github.com/blibee/BeeUI/tree/master/src/Tools) | 工具模块,px转dpi,控制设备字体 | `done` | -- |
|
23 | | [Calender](https://github.com/blibee/BeeUI/tree/master/src/Calender) | 日历控件 | `done` | -- |
|
24 |
|
25 | ### 启动说明
|
26 | - 准备工作:
|
27 | - 安装依赖:`npm i`
|
28 | - 设置淘宝镜像源:`npm config set registry https://registry.npm.taobao.org`
|
29 | - 启动项目:
|
30 | - 苹果:`npm run ios`
|
31 | - 安卓:`npm run android`
|
32 | - 其他:
|
33 | - 发布:`npm run deploy <password>`
|
34 | - 代码规范:`npm run lint`
|
35 |
|
36 | ### 常见问题
|
37 | - 项目无法启动:
|
38 | - 尝试重新安装依赖:`rm package-lock.json && rm -rf node_modules && npm i`
|
39 | - 还不行的话试试:`rm -rf $TMPDIR/react-*`
|
40 | - `Git:.git/hooks/pre-commit: line 2: ./node_modules/pre-commit/hook: No such file or directory`
|
41 | 1. 打开目录:`.git/hooks`
|
42 | 2. 编辑文件:`pre-commit`
|
43 | 3. 删除第二行:`./node_modules/pre-commit/hook`
|
44 | - `jsx-a11y/href-no-hash`
|
45 | 1. 查看全局安装的依赖是否包含 **eslint**:`npm list -g --depth 0`
|
46 | 2. 如果存在则需要全局安装 **eslint-plugin-jsx-a11y**:`npm i -g eslint-plugin-jsx-a11y`
|