Open vkiranmaniya opened 4 years ago
The Initial window loads url as
const winURL = process.env.NODE_ENV === 'development' ?
`http://localhost:9080` :
`file://${__dirname}/index.html`
is there any workaround to load specific route in newly created dialog window?
check this Window Create
Multiple Window with the specific route
When the renderer process emits an event, the main process creates a new window and loads a specific route in the window. Emitting and listening to the event are fairly simple as documentation but how to load route from the main process?