29 May 2020

React. Starting a New Project

New Project
Use either one of the below commands:

npx create-react-app my-app
npm init react-app my-app
yarn create react-app my-app


If you've previously installed create-react-app globally via npm install -g create-react-app, we recommend you uninstall the package using npm uninstall -g create-react-app to ensure that npx always uses the latest version.

npx create-react-app my-app
cd my-app
npm start


https://create-react-app.dev/docs/getting-started/

Bootstrap
npm install react-bootstrap bootstrap

Redux
npm install react-redux

No comments:

Post a Comment

Popular Posts