nested url routing using react-router and webpack dev server

前端 未结 2 743
被撕碎了的回忆
被撕碎了的回忆 2020-12-20 17:05

I\'m having some issues working with react-router and webpack-dev-server to achieve nested url routing.

webpack.config.js

output: {
         


        
2条回答
  •  臣服心动
    2020-12-20 17:57

    If you use hashHistory instead of createBrowserHistory() it will keep the server from requesting to your current url on your server.

    export default ();
    

提交回复
热议问题