@ardaydilek
Posted
Usually gh-pages is a separate branch so images are not uploaded. If you make the base url of your React app your repo name and after the push run ‘npm run deploy’ again, the problem will probably be solved.
My First time using React to build a project and deploying it with Github. My images would not load in gh-pages no matter how many changes i made, if anybody could give me feed back on how to fix this issue its much appreciated!
Also feedback on my code if there is any room for improvement anywhere and how i should go about it.
Thank you :)
@ardaydilek
Posted
Usually gh-pages is a separate branch so images are not uploaded. If you make the base url of your React app your repo name and after the push run ‘npm run deploy’ again, the problem will probably be solved.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord