How to use angular2 and electron


#1

Hi,does any body knows here how to use angular2 and electon? If I have a main and I want to create a setting window with electron should this setting window be an another angular app ? if yes how can it access the scopes of another app? if no how to do to such thing?


#2

Did you ever figure this out? I have an app that I’m attempting to do the same thing (starting with a fresh angular2 app from the angularCLI). Electron is having a hard time resolving the vendor directory.


#3

In regards to using multiple windows in your app, you won’t be able to access scopes across different windows. Your settings window doesn’t have to be Angular, that’s up to you, but you’d want to use the IPC main and renderer modules to pass messages to each other (using the main process as the go between).