Skip to main content

Development

Dok comes with a simple Vite configuration that ships with every new Statamic site so you should feel right at home.

#Building in development

shell
npm run dev
shell
# For control panel assets, use this instead.
npm run cp:dev

#Building for production

shell
npm run build
shell
# For control panel assets, use this instead.
npm run cp:build