A React NATIVE UI Libary.


License
MIT
Install
npm install bee-ui@0.0.36

Documentation

BeeUI

A React NATIVE UI Libary.

issues规范:

  • feature 功能 bug 故障
  • 优先级: p0: 日清 p1: 一周内 p2: 二周 p3: 月内

状态: todo 待开发, doing 进行中, test 待测试, done 已完成

组件名称 描述 状态 issues
Calender 日历组件 done --
Chart 柱状图 done --
Flex Flex 布局 done --
Grid Grid 布局 done --
Gallery 轮播图 done --
Overlay 蒙层 done --
Picker 选择器, 目前只支持单选 done --
Sheet 下方弹出框 done --
TabBar Tab切换栏 done --
TabScene Tab内容 done --
Tools 工具模块,px转dpi,控制设备字体 done --
Calender 日历控件 done --

依赖

  • 全局依赖: npm install -g exp 以及 Expo XDE;

启动说明

  • 准备工作:
    • 安装依赖:npm i
    • 设置淘宝镜像源:npm config set registry https://registry.npm.taobao.org
  • 启动项目:
    • 苹果:npm run ios
    • 安卓:npm run android
  • 其他:
    • 发布:npm run deploy <password>
    • 代码规范:npm run lint

常见问题

  • 项目无法启动:
    • 尝试重新安装依赖:rm package-lock.json && rm -rf node_modules && npm i
    • 还不行的话试试:rm -rf $TMPDIR/react-*
  • Git:.git/hooks/pre-commit: line 2: ./node_modules/pre-commit/hook: No such file or directory
    1. 打开目录:.git/hooks
    2. 编辑文件:pre-commit
    3. 删除第二行:./node_modules/pre-commit/hook
  • jsx-a11y/href-no-hash
    1. 查看全局安装的依赖是否包含 eslintnpm list -g --depth 0
    2. 如果存在则需要全局安装 eslint-plugin-jsx-a11ynpm i -g eslint-plugin-jsx-a11y