A modern React application built with Vite for fast development and optimized production builds.
- ⚡️ Vite - Next generation frontend tooling
- ⚛️ React 18 - Latest React with concurrent features
- 🔥 Hot Module Replacement - Instant updates during development
- 📦 Optimized Build - Tree-shaking and code splitting for production
- 🎯 TypeScript Ready - Easy migration to TypeScript
- Node.js 18+
- npm or yarn
npm installStart the development server with hot reload:
npm run devOpen http://localhost:5173 to view the app.
Create an optimized production build:
npm run buildPreview the production build locally:
npm run previewreact-app/
├── public/ # Static assets
├── src/
│ ├── assets/ # Images, fonts, etc.
│ ├── components/ # Reusable React components
│ ├── App.jsx # Root component
│ ├── App.css # Root component styles
│ ├── main.jsx # Entry point
│ └── index.css # Global styles
├── index.html # HTML template
├── package.json
├── vite.config.js
└── README.md
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run preview |
Preview production build |
npm run lint |
Run ESLint |
MIT