Here are the steps I did to deploy to github pages:
Install the gh-pages package as a "dev-dependency" of the app
npm install gh-pages --save-devAdd homepage property "homepage":
"http://{username}.github.io/{repo-name}"
Deploy script
"scripts": { //... "predeploy": "npm run build", "deploy": "gh-pages -d build" }
npm run deploy
I go to the link and find a blank page with an empty console. I've looked around and everyone suggests these 4 steps, and nothing seems to work. I use npx create-react-app to setup my React application. Here is the link to my repository: https://github.com/yuivae/yuivae
Please let me know if you have any suggestions
