CLI Workflow

Create and Generate

Use `create-vista-app` for fast project bootstrap, then add new modules with a repeatable CLI-driven workflow.

Updated: 2026-03-04

Bootstrap App

bash

bash
npx create-vista-app@latest
cd my-vista-app
npm run dev

Typed Starter

Typed starter scaffolds `app/api/typed.ts`, `app/api/routers`, and `app/api/procedures` so your API contract starts strongly typed from day one.

Suggested Team Workflow

  • Create feature route in `app/<feature>/` first.
  • Extract shared UI into `components/` only after second reuse.
  • Add server logic in `app/api/procedures/` and expose from router.
  • Keep release scripts in `package.json` so CI and local run identical commands.