We will be using Node.js v6.11.3. New JavaScript features (ES2015) are "enabled" for for all modern browsers with Babel.
- npm docs
- Useful commands:
npm install
(install local dependencies - based onpackage.json
file)npm install --save <package-name>
npm run
npm run <command>
- Search for packages:
- React docs
- app is created using create-react-app
ssh [email protected]
- frontend code:
cd ~/code/cviceni/frontend
- dev.frontend.username.vse.handson.pro
- frontend.username.vse.handson.pro
- requires
npm run build
- requires