Cannot find how to make it work with react router #341
Unanswered
CaptainZiboo
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use electron-vite with react-router-dom, in development environment, it works perfectly, but in production, the app first loads the html file and I see the router error page first and the location is a file path ( path to index.html ), then when I click on any link the location (I displayed it on the page for test purposes) change and becomes /pathname, any idea how to deal with that ?
Beta Was this translation helpful? Give feedback.
All reactions