Co potrzeba:
- node.js, npm – https://nodejs.org
- Visual Studio Code – https://code.visualstudio.com/
- Create React App – https://github.com/facebook/create-react-app
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.