I\'m building a react app, and at the moment webpack-dev-server works just fine( the hello world text shows up ), But webpack -p shows blank pa
webpack-dev-server
use
import { HashRouter } from 'react-router-dom';
instead of
import { BrowserRouter} from 'react-router-dom';
and don't forget to replace it in your routes code
<HashRouter> ... </HashRouter>