Skip to main content

Build System

yarn

The preferred package manager for JavaScript assets is yarn.

Installing dependencies

  • yarn install

Vite

The preferred build system for CTFd themes is Vite.

Building with Vite

  • vite build
  • vite build --watch

In most cases these commands can be called via yarn with

  • yarn build
  • yarn dev