Skip to content

Instantly share code, notes, and snippets.

View jamesdev4you's full-sized avatar
🎯
Focusing

James jamesdev4you

🎯
Focusing
  • Tampa
View GitHub Profile
@vre2h
vre2h / simple-deploy.md
Last active November 8, 2024 13:45
Simple guide for deploying your react app to Github-Pages.
  1. Your package.json file should consist a field homepage:
  "homepage": "https://<github-username>.github.io/<project-repo>"

2.1. Install gh-pages via npm:

 npm i --save-dev gh-pages