react-native 常用命令

创建项目

react-native init AwesomeProject   //AwesomeProject是项目名

启动 Node.js web server

react-native start

启动android

react-native run-android

启动ios

react-native run-ios

运行特定模拟器:
react-native run-ios --simulator "iPhone 5"
 
posted @ 2017-03-03 10:31  浪人残风  阅读(1163)  评论(0编辑  收藏  举报