By Sanchezdev.com
π₯οΈ Live Demo β minesweeper.sanchezdev.com
Clone the repo
git clone https://github.com/yourusername/minesweeper-react.git
cd minesweeper-react
Install dependencies
npm install
# or
yarn install
Start the development server
npm run dev
# or
yarn dev
Opens at http://localhost:3000
.
Edit source code
src/components/
src/index.css
(Tailwind + custom CSS) tailwind.config.js
& vite.config.js
Hot Reloading updates the browser instantly on save.
npm run build
# or
yarn build
dist/
folder. npm run preview
# or
yarn preview
/
ββ public/ # Static assets & index.html
ββ src/
β ββ components/ # React components
β ββ index.css # Global styles
β ββ main.jsx # App entry point
β ββ App.jsx # Root component
ββ tailwind.config.js # TailwindCSS config
ββ vite.config.js # Vite build config
ββ package.json
ββ README.md
npm run build
. dist/
to your serverβs public_html
. minesweeper.sanchezdev.com
) to that folder.This project is licensed under the MIT License.