Replies: 1 comment
-
Not sure what happened but I fixed it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I'm use to having some sort of static/public directoy but with this project using Parcel I don't have that. I'm using React Router and just noticed that the routes break when you refresh them trying to load assets because it's using a relative path instead of absolute path. It loads the assets fine when you load
/
route and click<Link to="/launch" />
but it breaks when I refresh the page saying it can't find the image. What is the best way to go about this I'm really confused.Beta Was this translation helpful? Give feedback.
All reactions