Blitz is pivoting to framework agnostic toolkit. Click to learn more.
🚀Announcing Flightcontrol - Easily Deploy Blitz.js and Next.js to AWS 🚀
Back to Documentation Menu

blitz codegen

Alias: blitz cg

Use this command to generate the Route Manifest and Prisma client (if Prisma schema is defined in package.json).

Options

OptionShorthandDescriptionDefault
--env-eSet app environment name. Read more.None

Example

> blitz codegen

✔ Compiled

Idea for improving this page? Edit it on GitHub.