Tuesday, January 9, 2018

React Native CLI Commands

This will be updated with react-native cli commands that I come across as my reference:

Creating a project 

react-native init <project_name>

i.e react-native init helloworld

The first time you run this command it will take a little while to download all the dependencies for your project.

Run App in IOS 

Execute this in your project directory (i.e cd helloworld)

react-native run-ios

Run App in Android 

Execute this in your project directory (i.e cd helloworld)

react-native run-android



.


0 comments:

Post a Comment