This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Step 1: Download this repo as a zip
Step 2: To run:
npm install
npm run dev
Step 3: Go to http://localhost:5173
Facing any issue: Documentation
- React: A popular JavaScript library for building user interfaces.
- Tailwind CSS: A utility-first CSS framework for styling your components with ease.
- Vite.js: A fast build tool that offers near-instant development server startup and hot module replacement.
- ESLint: Maintain code quality and follow best practices with integrated ESLint support.
- Prettier: Keep your codebase consistent and formatted automatically using Prettier.
- PostCSS: Process your CSS with PostCSS to enhance compatibility and future-proof your styles.
- Responsive Design: Develop responsive and mobile-first interfaces with Tailwind CSS's responsive utilities.
├── public/ # Publicly accessible assets
├── src/ # Application source code
│ ├── components/ # React components
│ ├── styles/ # CSS and styles
│ ├── App.js # Root component
│ └── main.js # Entry point
├── .gitignore # Git ignore configuration
├── package.json # Node.js dependencies and scripts
├── vite.config.js # Vite.js configuration
├── postcss.config.js # PostCSS configuration
├── .eslintrc.js # ESLint configuration
└── README.md # Project README (you are here)
Feel free to customize this starter pack to suit your project's needs. You can modify the styles, create new components, and leverage the power of Vite.js and React to build impressive web applications.