Welcome to the React Vite Starter project! This repository serves as a boilerplate for setting up a modern React application using Vite, TypeScript, and custom configurations.
- Vite: Lightning-fast development environment with Hot Module Replacement (HMR).
- TypeScript: Type-safe development with TypeScript support.
- Path Aliases: Simplified imports using path aliases configured in
vite.config.ts
andtsconfig.json
. - Custom Server Configuration: Development server runs on port 3000 by default (configurable).
- Optimized Build: Production-ready builds with source maps and minification using
ESbuild
.
├── public/
├── src/
│ ├── assets/
│ ├── components/
| | ├── Header.tsx
│ ├── App.tsx
│ ├── main.tsx
│ └── ...
├── tsconfig.json
├── vite.config.ts
├── index.html
└── package.json
Follow these steps to get started with the React Vite Starter project.
Make sure you have Node.js and Npm installed on your machine.
-
Clone the repository:
git clone https://github.com/yourusername/react-vite-starter.git
cd react-vite-starter
-
Install dependencies:
npm install
-
Run the development server:
npm run dev