Electron Multiple Windows Demo
An example electron app showing how to manage multiple windows.
Useful things this demo app demonstrates:
- Creates an application menu with a working
File -> New Window โN
command inmain/menu.js
- Manages browser window instances in
main/windows.js
(list, create, destroy) - Does some basic inter-process communication between
main/windows.js
andrenderer/index.js
git clone [email protected]:ngoldman/electron-multiple-windows-demo.git
cd electron-multiple-windows-demo
npm install
npm start
If you want the dev tools to show up automatically when a new window opens, you can start the application in debug mode:
npm start -- --debug
This demo is built on top of electron-quick-start
.