Coder Social home page Coder Social logo

yunle-cli / yunle-template-react-native Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 2.0 57.49 MB

yunle-cli 前端开发模板- RN 专为react-native开发 IOS&Android APP

Home Page: https://www.pgyer.com/dagouzhi2temp

JavaScript 35.63% Python 0.16% Java 6.99% Objective-C 32.89% TypeScript 22.50% Swift 0.02% Ruby 0.77% C 0.02% Roff 0.01% HTML 0.61% Shell 0.29% Starlark 0.10%
react-native yunle-cli redux react-navigation native-base react-native-orientation-locker umeng-push umeng-share umeng-analystic codepush

yunle-template-react-native's Introduction

利用脚手架开发一套react-native(ios & android)项目(让你开发网页dva.js 一套,牛奶香浓浓,丝般感受 )

  1. dva.js
  2. code-push
  3. react-navigation
  4. native-base
  5. 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 ⭐⭐⭐ 感谢感谢!!!

支付组件

内购 react-native-iap

支付(微信&支付宝) react-native-puti-pay

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}); }

yunle-template-react-native's People

Contributors

dagouzhi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.