We will be using Node.js v10.16.2. New JavaScript features (ES2015) are "enabled" for for all modern browsers with Babel.
- yarn CLI docs
- Useful commands:
yarn install
(install local dependencies - based onpackage.json
andyarn.lock
files)yarn add <package-name>
yarn <script-name>
(eg.yarn start
,yarn prettier
, see"scripts"
section inpackage.json
)yarn run
- Search for packages:
- React docs
- frontend app is created using create-react-app
ssh username@vse.handson.pro
- frontend code:
cd ~/code/cviceni/frontend