christianalfoni / react-app-boilerplate

React application boilerplate
303 stars 80 forks source link

can't make composed Link with react-router #28

Closed agharsallah closed 7 years ago

agharsallah commented 7 years ago

the problem is when I add a composed link for example

  <Route path="L1/L2" component={Comp}/>

when navigating to the Link the app can't Load the resources from public folder cause the app is loading the resources from example : http://localhost:8080/L1/bundle.js instead of http://localhost:8080/bundle.js Probablymissing a small webpack configuration

agharsallah commented 7 years ago

fixed http://stackoverflow.com/questions/40575691/make-composed-link-with-react-router/40576018#40576018