I’ve been struggling with building a multi-window Electron app with the latest Angular 4. I’ve seen several samples of opening the new BrowserWindow loading the static HTML files by ipc-main and ipc-renderer and also did my POC successfully. However, once the Angular comes into the picture, I don’t know how to have only one Angular app running and have Electron open a new BrowserWindow with different view (by the Angular router or something else) and still stay at the same application context.
So far all the samples I found with Electron/Angular are based on the SPA model, which is not surprised because Angular is SPA framework essentially. Does that mean Angular may not be a suitable solution for this use case? Should I go with less opinionated JS library like ReactJS with custom vanilla JS code?