Back to Router

TanStack Start - Static Example

examples/react/start-basic-static/README.md

1.166.7690 B
Original Source

TanStack Start - Static Example

This site is built with TanStack Router!

Start a new project based on this example

To start a new project based on this example, run:

sh
npx gitpick TanStack/router/tree/main/examples/react/start-basic-static start-basic-static

Deployment

It's deployed automagically with Vercel!

Getting Started

From your terminal:

sh
pnpm install
pnpm dev

Build

Build for production:

sh
pnpm build

About This Example

This example demonstrates:

  • Static Site Generation (SSG) with TanStack Start
  • Prerendering routes
  • Static export