•Installation
•Angular: npm install -g @angular/cli
•Electron: npm i -D electron@latest
•Electron Packager: npm install electron-packager -g
What you need to change ?
•Create
new angular app : ng new appdemo
•Create
main.js
•Update
package.json
•Update
index.html
Command to test electron app: npm run electron-build
Command to create executable:
electron-packager .
--platform=<platform-name>
e.g. electron-packager . --platform=win32
Github git clone url:
git clone https://github.com/yogeshjog/Angular-Electron.git
Video Demo:
Github git clone url:
git clone https://github.com/yogeshjog/Angular-Electron.git
Video Demo: