Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to install react on mac

#check version of both Node and NPM 
node --version
npm --version

#npm install react by following command
npm install --save react react-dom

#create new project by react following command
npx create-react-app my-react-project

#go to project
cd my-react-project

#start server
npm start
 
PREVIOUS NEXT
Tagged: #install #react #mac
ADD COMMENT
Topic
Name
8+4 =