title: Routing in Electron + Create React App
body: <p>I used create react app and electron for a project. It works fine in dev environment.</p>
  
  <p><a href="https://i.stack.imgur.com/BJlwl.jpg" rel="nofollow noreferrer">dev environment image</a></p>
  
  <p>However when i build the project and try to run it using electron i get a blank screen. i do not see any errors. i believe this has something to do with routing since electron uses file system.</p>
  
  <p><a href="https://i.stack.imgur.com/0Tqj2.jpg" rel="nofollow noreferrer">Image of my route file</a></p>
  
  <p>How do i build the app and use react routing instead of file system ??</p>