TanStack Start template
Full-stack React on TanStack Start with type-safe routing.
npx create-nx-workspace@latest my-workspace --template nrwl/tanstack-start-templateA TanStack Start monorepo - full-stack React powered by Vite, with type-safe file-based routing, server functions, and streaming. Paired with shared libraries and Nx so you get instant feedback locally and cached, affected-aware builds in CI.
Highlights
Type-safe to the route
File-based routing with end-to-end type safety, server functions, and SSR configured for you.
Vite-fast feedback
Instant HMR in development and Nx caching that skips work you have already done.
Grows with you
Shared libraries are set up so the app stays thin and the logic stays reusable.
Quickstart
- Start developing:
Terminal window npx nx run web:dev - Build every project:
Terminal window npx nx run-many -t build - Visualize your monorepo's graph in the browser:
Terminal window npx nx graph
What's inside
apps/web- TanStack Start application (Vite)packages/ui- shared React components- Inferred Nx targets from the app scripts
Speed up CI with Nx Cloud
Connect this monorepo to Nx Cloud to share one remote cache across your team and CI, and distribute tasks across machines as it grows.
- Remote caching shared across your team and CI
- Distributed task execution with Nx Agents
- Automated e2e test splitting
- CI that detects failures and proposes fixes