初学React Native写的一个app,练手,功能没有全部实现。
最开始用的是create-react-native-app,效果还不错。不过打包出来的apk总是要白屏一段时间,弄了半天无法解决,于是转成React Naitve原生代码.
- node.js
- npm install -g
- react-native-cli
$ git clone https://github.com/lmgy/React-Native-Demo.git
$ cd React-Native-Demo
$ npm install
$ react-native run-android
"antd-mobile-rn": "^2.2.1",
"react": "16.3.1",
"react-native": "~0.55.2",
"react-native-action-button": "^2.8.5",
"react-native-easy-grid": "^0.2.0",
"react-native-elements": "^0.19.1",
"react-native-storage": "^0.2.2",
"react-native-swiper": "^1.5.13",
"react-native-vector-icons": "^5.0.0",
"react-navigation": "^2.13.0"