How to use React Router with Electron?

后端 未结 7 929
生来不讨喜
生来不讨喜 2020-12-14 00:08

Using this boilerplate as reference I created an Electron app. It uses webpack to bundle the scripts and express server to host it.

Webpack config is practically sam

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-14 00:25

    Another option would be to use hashHistory instead. Actually, in your referenced repo you can see that they're using hashHistory, how about trying that and posting back?

提交回复
热议问题