routes not working with react 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';