t # 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 uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.
#En este caso git bash
npm --version
# Ya lo dice el comando
npm create vite
#Lo más simple (En este caso React y JavaScript)
cd mi-carpeta-projecto
# O repositorio local
npm install
# Instalamos dependencias
npm run dev
# Lanzamos el proyecto o aplicación
# dev es un Script en el archivo package.json
git status
git branch -m main
# Cambio nombre rama principal
git add .
git status
git commit -m "Aplicación lista para repositorio"
git branch -M main
# Te lo vuelve a decir GitHub
git remote add origin https://github.com/Serio120/great-button-react.git
# Indicamos el repositorio remoto
git push -u origin main