Design comparison
SolutionDesign
Solution retrospective
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 :)
Community feedback
- @ardaydilekPosted over 1 year ago
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.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
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