This is a template for React projects for Miew, providing a modern development environment with essential tools and configurations.
- React 19
- React DOM 19
- TypeScript 5.7
- Vite 6.3 (Build tool and development server)
- ESLint 9.22 (Code linting)
- Prettier 3.5 (Code formatting)
- TypeScript ESLint 8.26 (TypeScript linting)
- Hot Module Replacement (HMR)
- TypeScript support
- ESLint configuration with React hooks and refresh plugins
- Prettier integration for code formatting
- Clone this repository
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Build for production:
npm run build
npm run dev- Start development servernpm run build- Build for productionnpm run lint- Run ESLintnpm run preview- Preview production build
The project follows a standard React + Vite structure:
src/- Source code directorypublic/- Static assetsindex.html- Entry HTML filevite.config.ts- Vite configurationtsconfig.json- TypeScript configurationeslint.config.js- ESLint configuration
