How to publish react Js Project on GitHub | Deploy React Page on GitHub
| How to Publish First React project on GitHub
Commands -:
git init
git status
npm i gh-pages
Go To Package.json
"homepage": "http://{github-username}.github.io/{repo-name}",
Inside Script - :
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
git commit -m "Added gh Pages"
git add .
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/yourGitusername/Yo...
git push -u origin main
npm run deploy