482 B
482 B
apps/web-tanstack — TanStack Start Reference App
TanStack Start app consuming @repo/api-client for data and @repo/ui for components.
Key Files
src/routes/__root.tsx— Root layout with<ApiProvider>src/routes/index.tsx— Home page
Rules
- Use
@repo/api-clienthooks for all data fetching - Use
@repo/uicomponents for all UI - File-based routing via TanStack Router (
src/routes/) - Payload instance initialization goes in
src/lib/payload.ts