
Submitted over 2 years ago
Rock-paper-scissors game built with React styled components
#react#sass/scss#styled-components
@JT1974
Design comparison
SolutionDesign
Solution retrospective
What are the best practices to avoid 'path issues' (to static assets in the public folder) when deploying React applications to GitHub pages? I normally use paths, like './images/...' to access images, but after deploying the app from my local computer with 'gh-pages', I could not use these links locally (I had to add the website's name???), but I had to keep them for the Github deployment. Thx
Community feedback
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