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
.
No comments:
Post a Comment