$ yarn create vite react-useContext-demo --template react -y
- Commands
- build and commit
$ yarn build $ git add -f dist $ git commit -m "Add dist folder"
- push to branch
gh-pages
$ git subtree push --prefix dist/ origin gh-pages
- delete
gh-pages
if necessary
$ git push --delete origin gh-pages
- React useContext Demo