Skip to content

05. Configuration

Vlado Bosnjak edited this page Jul 16, 2023 · 5 revisions

Environment variables are saved in .env.local


Build commands

  • yarn dev — Start your development process, this will compile and live reload your browser or inject css when possible while in development
  • yarn build — Compile and optimize the files
  • yarn build:prod — Compile and optimize assets for production (minify css/js and run image optimization)

Additional commands

  • yarn clean — Remove your dist folder
  • yarn reinit — Remove your dist and node_modules folder and reinstall node dependencies
  • yarn lint — Run ESLint/Stylelint against your source files and build scripts
  • yarn lint:scripts — Run ESLint against your source files and build scripts
  • yarn lint:styles — Run Stylelint against your source files
Clone this wiki locally