How to route in electron react app during production

How to route in electron react app during production

I am using electron 6.10.0 and using React.js. In my app, there is an add task option in menu, which creates a new window. Everything works fine during development, but during production this line causes problem. It loads index.html, through which it loads index.js and which renders router.js. This is the code in Router.js. Mainwindow …

How to route in electron react app during production Read More »