A starter for reactjs base project
The React + Vite template is a minimal setup that allows users to quickly get started with React in Vite. It provides HMR (Hot Module Replacement) and includes ESLint rules for improved code quality. The template currently offers two official plugins: @vitejs/plugin-react, which utilizes Babel for Fast Refresh, and @vitejs/plugin-react-swc, which uses SWC for Fast Refresh.
@vitejs/plugin-react and @vitejs/plugin-react-swc, offering flexibility in choosing the best Fast Refresh option for the project.To install and use the React + Vite template, follow the steps below:
npx create-vite@latest my-react-project --template react
cd my-react-project
npm install
npm run dev
http://localhost:3000.The React + Vite template offers a minimal setup for using React with Vite. It provides HMR functionality, ESLint rules for code quality, and two official plugins for Fast Refresh. With its streamlined setup and lightweight nature, the template is a convenient choice for getting started with React development in Vite.