Rapid Electron development for HTML5 apps.
How to do:
- clone this repository
- drop your ready (compiled) HTML5-app in
dockfolder (overwrite index.html)
Then use standard NPM scripts in terminal
npm installnpm run startfor testnpm run makefor build Electron application
Your HTML app run in borderless iframe inside Electron application.
You can connect Electron host and your page through window.postMessage API
You can develop Electron host application and your HTML5-app as independent projects.
You can fast switch your app in dock for any other project.
HTML5-app in 'dock' is completely isolated from Node/Electron.
- 2020-04-20
npm run makegenerate zip instead installer,dockfolder insteadsrc/dock
