Open Richacinas opened 7 years ago
@Richacinas base url as in similar to mount path in express?
@samsel I'm not sure, I searched a little bit and don't really know how to answer to your question. I'm talking about the classic base url that we set up on a project so when we access to a path relative to root on links, scripts, statics... it prepends that base url to '/'
I was wondering how could we set a basename for this application. It is a normal usage to have the project hosted on a folder inside our virtual host.
Something like this:
being passed to our Router, is causing an error like:
Error: Invariant Violation: Browser history needs a DOM
Anybody could explain how to properly set up a baseurl so client side and server side routing works the same way?