How to setup React Native with Expo

React Native

Nicesnippets

222

05-06-2020


Hi Guys

In this blog,i will explain how to setup react native with expo. we will install setup react native with expo.I will show step by step expo is a great way to ease your transition. you can easy setup react native with expo.

Pre-requisites

->Node.js and npm must be installed prior to setup.

Installation

Step 1 - Expo CLI

Now in this step.Run the following command in your terminal to install the command line interface (CLI) of Expo.

npm install -g expo-cli

Step 2 - Create project

Next the successful installation of Expo CLU, it’s time to use the CLI to create an expo project. Run the following command

expo init YOURPROJECTNAME

After running this command, the CLI will ask you to chose a type of template for your project. Choose blank option.

Step 3 - Run project

In this last step run your project directory, type the following command to run your project

expo start --web

Run project

Now run your project in browser.

port : http://localhost:19006/

It will help you...


Recommended Posts