Prerequirements for creating reactJS app with tool create-react-app
Your working laptop or system must has node and npm
How to use create-react-app tool
Open location where you want to create reactJS app , for example if you want to create reactJS app named like jaiReactApp in a documents folder of windows system, then go to documents folder of your windows system.
npx create-react-app jaiReactApp
After creating reactjs app |
In the above screen you can notice that jaiReactApp crated successfully. And you can notice some commands are there, for example to start the development server
To start the development server go to the root directory of app created, in this example goto jaireactapp directory which is in documents folder
Then from reactjs app root directory just run npm start command to start the development server
Post a Comment
Post a Comment