React + TypeScript + Vite
About this template
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. It features a modern development environment with:
- Vite 6 for fast development and optimized builds
- Vitest for testing
- React 19 with latest hooks and features
- TypeScript 5.8 with strict type checking
- Tailwind CSS 4.0 for utility-first styling
- ESLint 9 with flat config system
- Complete ESM support for all configuration files
- Optimized developer experience with excellent IDE integrations
Currently, this template uses @vitejs/plugin-react-swc which leverages SWC for Fast Refresh.
Key Features
- ⨠Full ES Module support
- đ§Ş Vitest for testing
- đ All configuration files written in ESM with strict TypeScript type checking and JSDoc annotations, providing excellent IDE code suggestions
- đ¨ Using Tailwind CSS 4.0
- đ ď¸ Separate tsconfig files for source code and configuration files
- đ Well-written, standardized ESLint Flat Config
- đ¤ Good Cursor Rules, AI programming friendly
- đŚ Using Corepack and pnpm package manager
Before using this template
Use pnpm update --latest to update the dependencies to the latest versions.
pnpx update --latest
Remove pnpm-lock.yaml from .gitignore .