•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:
Bro it is not running
ReplyDelete
ReplyDeletenpm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Rizwa\AppData\Roaming\npm-cache\_logs\2020-08-17T18_38_16_405Z-debug.log
I am facing this issue
if possible helpme out
ReplyDelete