Closed
Description
In the documentation it says to use the 'homepage' property in package.json to produce builds that are not mounted at the server root.
How do I access the pathname portion of this property in the application?
I need to use it, for instance, inside <Route> declaration:
<Route path={?homepage.path?} .... />
Similarly, when interacting with react-router's functions, I need to access it.
I'd like this to be DRY. Thank you.
Metadata
Metadata
Assignees
Labels
No labels