Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

install react app

//To Initialize and Install an react application
Yarn // Use if the project contains yarn.lock file
npm install //if the project contain package-lockjson

// To create a new app use the following Command 
npx create-react-app <appname>  //  eg:  npx create-react-app site
cd <appname>  // cd site
npm start  //runs on localhost:3000
 
PREVIOUS NEXT
Tagged: #install #react #app
ADD COMMENT
Topic
Name
9+6 =