How to use React Router with Electron?

后端 未结 7 935
生来不讨喜
生来不讨喜 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

    Best option at the time of this answer is to use the MemoryRouter, worked for me :)

提交回复
热议问题