⬅ Retour

site

Nom Taille Date
.git/ - 2026-06-04 22:30
public/ - 2026-05-28 17:49
src/ - 2026-05-28 17:49
.gitignore 253 B 2026-05-10 16:14
eslint.config.js 758 B 2026-05-10 16:14
index.html 533 B 2026-05-10 16:14
package-lock.json 116.7 KB 2026-05-10 16:14
package.json 709 B 2026-05-10 16:14
README.md 1.1 KB 2026-05-10 16:14
vite.config.js 161 B 2026-05-10 16:14

React + Vite

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](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.