React – instalacja

Co potrzeba:

C:> npm install create-react-app -g

Utworzenie projektu test1 w katalogu projektów D:/PROJEKTY-REACT/kurs-react

# cd D: 
# cd PROJEKTY-REACT/
# mkdir kurs-react
# cd kurs-react

# npx create-react-app test1
# npm start
  Starts the development server.

# npm run build
  Bundles the app into static files for production.

# npm test
  Starts the test runner.