- Copy
.env.example
as.env
- Replace the values of the environment variables with your own in the
.env
file
yarn install - install dependencies
yarn dev - run frontend project in dev mode
yarn dev
- Run frontend project on viteyarn build
- Build in prod modeyarn lint
- Lint check for js & ts filesyarn lint:fix
- Fix js & ts files with linteryarn tsc
- Type-check ts files without emitting output filesyarn preview
- Launch a preview server for the built project on vite