This project is a React-based web application template using TypeScript, Vite, Tailwind CSS, and TanStack Router. It includes a set of pre-configured components, hooks, and utilities to help you get started quickly.
Make sure you have the following installed:
Clone the repository:
git clone https://github.com/ankitpanchal534/vite-react-starter-template.git
Install dependencies:
pnpm install
Start the development server:
pnpm dev
Open your browser and navigate to http://localhost:3000
.
Build the project for production:
pnpm build
The output will be in the dist
directory.
pnpm dev
: Start the development server.pnpm build
: Build the project for production.pnpm lint
: Run ESLint to lint the code.pnpm format
: Run Prettier to format the code.TypeScript configuration is located in tsconfig.json
, tsconfig.app.json
, and tsconfig.node.json
.
ESLint configuration is located in eslint.config.js
.
Tailwind CSS configuration is located in tailwind.config.js
.
Vite configuration is located in vite.config.ts
.
The project uses the following external packages:
@tanstack/react-router
@tanstack/react-router-devtools
@tanstack/react-router-rank-routes
@tanstack/react-router-ssr
@tanstack/react-router-vite
@tanstack/router
@tanstack/router-devtools
@tanstack/router-rank-routes
@tanstack/router-ssr
@tanstack/router-vite
axios
classnames
clsx
lucide-react
react
react-day-picker
react-dom
react-hook-form
react-resizable-panels
recharts
sonner
tailwind-merge
tailwindcss-animate
vaul
zod
@eslint/js
@tanstack/router-vite-plugin
@types/node
@types/react
@types/react-dom
@vitejs/plugin-react
autoprefixer
eslint
eslint-plugin-react-hooks
eslint-plugin-react-refresh
globals
postcss
tailwindcss
typescript
typescript-eslint
vite
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.