Installation Process.
Install node package manager. which can be downloaded from the here
NPM commands for project
npm install -g create-react-native-app
create-react-native-app AwesomeProject cd AwesomeProject npm start
Running on stimulator ->npm run android for android and npm run ios for IOS
Yarn Commands
You can also install Yarn by executing the below command npm i -g yarn
To create project in Yarn
yarn global add create-react-native-app
yarn start to run project
React-native-cli commands
1.
npm i -g react-native-cli
2.
react-native init AwesomeApp
3.
react-native run-android
Comments