boolean | Object
When enabled, the router option provides routing management for Modern.js conventional routes. It is based on React Router 6.
The basename option specifies the subpath where the app is deployed, for situations where it cannot be deployed to the root domain.
If the value of
BrowserRouter would be used, otherwise
HashRouter would be used.
BrowserRouter is recommended.
When SSR is enabled,
supportHtml5History is not supported.