Difference between revisions of "React Setup"

From rbachwiki
Jump to navigation Jump to search
Line 1: Line 1:
* Install Node
* Install Node
* React dev tools for Chrome (optional)
* React dev tools for Chrome (optional)
 
npm init -y #
  npx create-react-app my-app # this does not install it globally
  npx create-react-app my-app # this does not install it globally
  cd my-app
  cd my-app

Revision as of 18:56, 10 February 2021

  • Install Node
  • React dev tools for Chrome (optional)
npm init -y # 
npx create-react-app my-app # this does not install it globally
cd my-app
npm start

Check if npm is installed

npm --version