Documentation React
Règles
- “
Saisie utilisateur
” - ‘
Elément cliquable/sélectionnable
’ Nom de fichier, dossier ou autre
- <Élément à="" remplacer=""> Élément>
lien, raccourci clavier et phrase de demande de saisie
commande, extrait code et extrait de fichier
Table des matières
Sources
Installation de React
- Installer Node.js
- Installer Vite
Installation du dev tools React
React DevTools est une extension pour navigateur qui permet d’inspecter les composants React dans l’arborescence des composants.
- Installer React DevTools
Création d’un projet React
-
Créer un projet React
npm create vite@latest <Nom du projet>
-
Se déplacer dans le dossier du projet
cd <Nom du projet>
-
Installer les dépendances
npm install
-
Lancer le serveur de développement
npm run dev
-
Ouvrir le navigateur à l’adresse suivante
http://localhost:5173
Licence
doc_laravel.md
Copyright (C) 2024 Floris Robart
Authors: Floris Robart
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.