Skip to content

Educational project for obtaining skills in deploying reacts apps into gh-pages.

Notifications You must be signed in to change notification settings

zhuk1707/react-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How To Deploy React App

git inint

git status

git add .

git commit -m "initial commit"

git branch -M 'main

git remote add origin "URL"

git push -u origin 'main'

npm install gh-pages --save-dev

In package.json add:

  • "homepage" : "https://username.github.io/app-name"

  • "predeploy":"npm run build"

  • "deploy":"gh-pages -d build"

npm run deploy

About

Educational project for obtaining skills in deploying reacts apps into gh-pages.

Topics

Resources

Stars

Watchers

Forks