This boilerplate template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
This template using react router v7
example Login using layout template
import {
index,
layout
} from "@react-router/dev/routes";
export default [
layout("pages/layout/Public/index.tsx", [
index("pages/public/Login/index.tsx"),
]),
]; - Node: 20.14.0
- Package Manager: pnpm@9.15.0
- Frontend Framework: React 19
- Language: TypeScript
- Styling: CSS Module
- State Management: Zustand - 5.0
- Data Fetching: TanStack React Query - 5.66
- Validations:: Zod
- Routing: React Router v7
- Notifications: React Toastify