Skip to content

EliNoden/react-ts-tailwind-tanstack-boiler

Repository files navigation

react-ts-tailwind-tanstack-boiler

Minimal boilerplate: React 19, TypeScript, Tailwind CSS v4, TanStack Router, Zustand, shadcn-style Button component.

Stack

  • Vite
  • React + TypeScript
  • Tailwind CSS v4
  • TanStack Router
  • Zustand

Getting started

pnpm install
pnpm dev
  • pnpm dev — start the dev server
  • pnpm build — build for production
  • pnpm preview — preview the production build

Structure

  • src/main.tsx — app entry point
  • src/router.tsx — router and the single / page
  • src/store/counter-store.ts — example Zustand store (increment/decrement)
  • src/components/ui/button.tsx — shadcn-style Button component

About

A boilerplate of a React + Vite + TS + Tanstack (router + query) + Tailwind + shadcn + zustand

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors