Skip to content

varnguyen/react-native-example

Repository files navigation

React Native Example

My first app build with react native

Running the project

  • Clone this project
git clone < project-url.git >

Yarn is a dependency manager built by facebook and google. It is a more efficient and reliable (thanks to yarn.lock) alternative of npm.

  • Launch yarn command in a terminal opened in the project folder.

This command will look into the package.json file and install all the dependencies listed here.

  • Install react-native-cli globally on your computer
yarn global add react-native-cli

Ios steps

  • Have to Simulator
react-native run-ios

Android steps

If you have never installed any android virtual device, follow those instructions

  • Then, run the project in executing on your project folder:
react-native run-android