Scaffold
Scaffold a New Project
Create a new Dex project with dex create.
Command
bunx dex create <project-name>Example
bunx dex create my-blog
cd my-blog
bun run devWhat Gets Created
my-blog/
├─ dex.config.ts
├─ package.json
├─ tsconfig.json
├─ web/
│ ├─ pages/
│ │ ├─ index.tsx
│ │ └─ about.tsx
│ ├─ layouts/
│ │ └─ global.tsx
│ └─ public/
├─ core/
├─ scripts/
└─ routes/
└─ api/Next Steps
- Edit pages in
web/pages/ - Run
bun run devto start - Build with
bun run build
See Also
- Your First App — Step-by-step tutorial
- Commands — Other CLI commands