Vite React Boilerplate
A lightweight, production-ready boilerplate for React projects built on Vite. This setup includes essential dependencies for modern frontend web development, such as Axios for API requests, i18n for internationalization, React Use Cart for cart hook state, Redux for global state management and React Router for route management. Includes Tailwind CSS and Flowbite for styling, also includes Framer Motion for animation effects, dynamic and elegant UI/UX. Includes ESLint for code quality, and support for environment variables. Includes SEO references, enhanced security and ServiceWorker for offline views.
Features
- React 19 with Vite for fast development
- Redux + Toolkit + Persist for efficient state management
- Axios for easy HTTP requests
- CryptoJS encryption standards
- Cookies-js for handling cookies
- i18n with i18next for multi-language + auto translation
- React Use Cart for managing shopping cart state hook
- React Router for route management
- Tailwind CSS with Tailwind Merge for custom styling
- Framer-Motion UI animation library
- Environment configuration via loadEnv
Installation
- Clone & Install the repository
```bash
git clone https://github.com/asilvafx/vite-react-boilerplate.git
cd vite-react-boilerplate
npm install
npm run dev || npm run build