Templates
Templates
Starter projects with the right structure, config and wiring from day one.
Templates
A template is a starter project. It gives a new Ziteox site or app the right folder layout, config, and wiring from day one — so you do not rebuild that from scratch every time.
Forge is Ziteox’s internal toolkit. Templates are for Ziteox’s team and AI agents. Clients have no access.
What’s available
| Template | Path | Notes |
|---|---|---|
| next-site | templates/next-site | Minimal Next.js App Router starter wired to @ziteox/ui |
Other templates are not decided yet. That is an open question.
How to use one
Inside Forge — run the package with pnpm filters, for example:
pnpm --filter @ziteox/template-next-site dev
pnpm --filter @ziteox/template-next-site buildOutside Forge — copy the template folder into a new repo, replace "@ziteox/ui": "workspace:*" with a published version (for example ^0.1.1), then connect the project with the Forge connect helper. See Connect a project.
How this relates to other areas
- Library — templates wire to
@ziteox/ui(and peers). They are not a second component library. - Connect — after you copy a template out, install
@ziteox/uiwith the Forge connect helper. See Connect a project. Later, Core project tokens replace the shared packages token — From package token to connector.
Planned vs open
| Topic | Status |
|---|---|
next-site (Next.js App Router + @ziteox/ui) | Available |
| Other starters (for example Vite, Workers-only, non-Next apps) | Open question — not decided |