A minimal starter template for 🏝️ TanStack Start. → Preview here
- React 19 + React Compiler
- TanStack Start + Router
- Tailwind CSS v4 + shadcn/ui
-
Use this template or clone this repository with gitpick:
npx gitpick dotnize/react-tanstarter myapp cd myapp -
Install dependencies:
pnpm install
-
Create a
.envfile based on.env.example. -
Run the development server:
pnpm dev
The development server should now be running at http://localhost:3000.
- React Compiler docs, Working Group - React Compiler is in RC.
- TanStack/router#2863 - TanStack Start is in beta may still undergo major changes.
These scripts in package.json use pnpm by default, but you can modify them to use your preferred package manager.
ui- The shadcn/ui CLI. (e.g.pnpm ui add buttonto add the button component)formatandlint- Run Prettier and ESLint.deps- Selectively upgrade dependencies via npm-check-updates.
ThemeToggle.tsx- A simple component to toggle between light and dark mode. (#7)
Read the hosting docs for information on how to deploy your TanStack Start app.
Code in this template is public domain via Unlicense. Feel free to remove or replace for your own project.