https://github.com/jkchao/book-native
https://github.com/jkchao/book-native
react react-native
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jkchao/book-native
- Owner: jkchao
- License: mit
- Created: 2018-01-07T00:50:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-20T12:09:25.000Z (over 8 years ago)
- Last Synced: 2025-02-14T10:23:24.138Z (over 1 year ago)
- Topics: react, react-native
- Language: JavaScript
- Homepage:
- Size: 3.83 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# book-native
一个简单的 React-Native(0.53) application,只有两页面。
## 几张图


## 用到的插件
- [react-native-vector-icons](https://github.com/oblador/react-native-vector-icons)
- [react-navigation](https://github.com/react-navigation/react-navigation)
- [react-native-root-toast](https://github.com/magicismight/react-native-root-toast)
## 一些经验(坑)
项目虽小,经验(坑)却多:
- React-Native(0.53) 有些依赖很难下载成功。(翻墙 + 看脸)
- Icons 下载完,用不了。(react-native link)
- run ios 不明报错。(删除 ios/build 重新编译)
- ios 图标和启动屏尺寸设置。(坑爹)
- run android,出现如下提示:
```bash
Downloading https://services.gradle.org/distributions/gradle-2.14.1-all.zip
..........
..........
```
需要正确上网。
- ……
如果需要运行体验项目,你可以在 https://github.com/jkchao/book-native 找到源码。
## step
```bash
// clone
git clone https://github.com/jkchao/book-native.git
cd book-native
npm install
// ios
npm run dev:ios
// android
npm run dev:android
```