yunle-template-react-native
yunle-template-react-native copied to clipboard
yunle-cli 前端开发模板- RN 专为react-native开发 IOS&Android APP
利用脚手架开发一套react-native(ios & android)项目(让你开发网页dva.js 一套,牛奶香浓浓,丝般感受 )
- dva.js
- code-push
- react-navigation
- native-base
- react-native-orientation-locker
demo下载地址 密码: dagouzhi
https://www.pgyer.com/dagouzhi2temp
安装脚手架
npm i -g yunle-cli
创建RN项目
yunle init test_rn
? 请选择使用的模板
umi
❯ RN
taro
electron
gatsby
next
component
获取依赖包
cd test_rn && yarn
ios
npm run start:ios
android
npm run start:android
主题定制
》 https://nativebase.io/customizer/#
欢迎star
开源github 欢迎star ⭐⭐⭐ 感谢感谢!!!
支付组件
fix
修改 node_modules/native-base/dist/src/basic/Tabs/index.js
替换
_this.scrollView.scrollTo({x:_this.props.initialPage*_this.state.containerWidth,animated:false});
if (_this.scrollView && _this.scrollView.scrollTo) { _this.scrollView.scrollTo({x:_this.props.initialPage*_this.state.containerWidth,animated:false}); }