This repository was archived by the owner on Jan 22, 2020. It is now read-only.

Description
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:
const browserHistory = useRouterHistory(createHistory)({
basename: '/project-folder'
});
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?