Internal links dont work

I have my Angular web app working fine.
So I heard I could convert my web app to desktop using Electron.

When I run it, it works JUST for the home page.
Whatever link I click to move around the app, I just get a blank screen.
What could be the reason ?