Use Visual Studio Code's built in terminal (powershell) by pressing (CTRL + `), to use the following commands
yarn
to install the npm dependencies required for the projectyarn upgrade --latest
to upgrade the packages to their latest versionsyarn start
to run the a built verision of the codeyarn build:dev
to compile and build the code in development modeyarn build:prod
to compile and build the code in production mode
this will open a new window in Chrome
- or open preferred browser and browse to
http://localhost:3000/build/
To add a dependencies for your app add it to the package.json in the app folder
yarn install
to install a new dependencyyarn upgrade --latest
to upgrade the packages to their latest versions
- build the app in a configuration by using the command
yarn build:dev
for development mode oryarn build:prod
for production mode - use command
yarn start
to run the build