How to add base_path to router?
I have a common prefix in all the urls. basically electron add
main_window before the routes.
Example:
http://localhost:3000/main_window/ is the base url. How can I have this as the base url?2 Replies
vicious-gold•4y ago
Pass the
basepath option to the createReactRouter methodmetropolitan-bronzeOP•4y ago
I passed the basepath as
/main_window/, but still the pathname's ouput is /main_window, I want that to be / only.