美文网首页程序员Android技术研究
RN(react native)入坑指南-附录A,常用命令

RN(react native)入坑指南-附录A,常用命令

作者: PKAQ | 来源:发表于2016-04-22 22:06 被阅读300次

创建一个叫AwesomeProject的项目

react-native init AwesomeProject

升级react-native项目到最新版本

react-native upgrade

启动打包服务

react-native start

在安卓上运行debug程序

react-native run-android

在安卓上运行debug程序

react-native android

在苹果上运行debug程序

react-native run-ios

打离线包

react-native bundle
react-native unbundle

为项目添加三方依赖

react-native link

generates a native library bridge

react-native new-library

相关文章

网友评论

    本文标题:RN(react native)入坑指南-附录A,常用命令

    本文链接:https://www.haomeiwen.com/subject/utpxrttx.html