0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/react/start-basic-static
History 2026-03-10 19:25:59 +00:00
..
public feat: static server functions (#3352) 2025-02-12 16:23:30 -07:00
src chore: add source() to Tailwind v4 imports to ensure consistent hashing (#6459) 2026-01-24 01:49:12 +01:00
.gitignore feat: Merge alpha to main (#4365) 2025-06-10 23:19:32 +02:00
.prettierignore feat: static server functions (#3352) 2025-02-12 16:23:30 -07:00
package.json release: v1.166.7 2026-03-10 19:25:59 +00:00
README.md docs(examples): standardize the READMEs for the React examples (#6014) 2025-12-07 01:39:44 +13:00
tsconfig.json chore: move start e2e and example projects from ./app to ./src (#3712) 2025-03-09 23:35:20 +01:00
vite.config.ts fix: vite preview base path support (#6304) 2026-01-06 22:12:56 +02:00

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:

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:

pnpm install
pnpm dev

Build

Build for production:

pnpm build

About This Example

This example demonstrates:

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