Publish Existing React js Project on Git | Push React Existing Project on Git

Опубликовано: 06 Октябрь 2024
на канале: IT Training Classes
212
7

How to Publish Existing React Project on Git | Push React Existing Project on Git | Easy way to push Project on Git
Git Commands for Existing Project on Git -:
git pull
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",

npm run deploy
git commit -m "Added gh Pages"
git push


Website Link -:
http://ittrainingclasses.in/