router base path react router dom code example
Example: react router base url
<BrowserRouter basename="/calendar"/>
<Link to="/today"/> // renders <a href="/calendar/today">
<BrowserRouter basename="/calendar"/>
<Link to="/today"/> // renders <a href="/calendar/today">