ReactNative 笔记

React Native

flex :1 或者 0
1内部自动均等

创建工程

react-native init project

升级最新版本

react-native upgrade

启动打包服务

react-native start

在ios上运行debug程序

react-native run-ios

打离线包

react-native bundle
react-native unbundle

为项目添加三方依赖

react-native link

生成原生库

react-native new-library

posted @ 2017-07-17 22:08  小天才努努  阅读(65)  评论(0编辑  收藏  举报