Skip to content

Examples

The examples below are runnable applications, not fixtures. They live outside the pnpm workspace so they install the published @dashild/* packages like a user’s app. Each one has a full tutorial and seeded demo data.

Example What it shows
Vet clinic Multi-tenancy, roles, relations, actions, filters, a custom cell
Shop Decimal money, stock, orders, relation managers, status actions, dashboard widgets
Blog Author scoping, editorial workflow, m2m tags, comments

The shop and blog are generated from the shop and blog starters and kept as examples; the vet clinic is built from a fresh app in its tutorial. All three include:

  • A seeded SQLite database and demo accounts.
  • One resource file per model, with policies and action handlers.
  • A README with the commands and what to try in the UI.
Terminal window
cd examples/vet-clinic # or examples/shop, examples/blog
pnpm install
pnpm prisma migrate deploy
pnpm db:seed
pnpm dev

The panel is at /admin. The demo credentials are listed in each tutorial.

Terminal window
pnpm create dashild@latest my-app --template shop
pnpm create dashild@latest my-blog --template blog

--list-templates shows the bundled starters.

An example inside the monorepo would resolve workspace:* packages and hide the failures that matter in a real install: missing exports, client components inside node_modules, Tailwind not scanning the package build, or an alias that only exists in the workspace. These apps install the published packages, so they test what users get.