react router dom not working after build code example
Example: react routes not working after build
// replace
import { BrowserRouter, Route, Link, Switch } from 'react-router-dom';
// by
import { HashRouter, Route, Link, Switch } from 'react-router-dom';