Skip to content

Minimal angular and :electron: electron projet template

License

Notifications You must be signed in to change notification settings

Mrgove10/angular-electron-minimal

Repository files navigation

Angular Electron Seed Barebones

This project is a super barebones angular project with electron. It is a regular Angular 11 starter app (CSS styling) whit electron. You can package it with electron builder and github action for automated builds (Linux, Windows, Mac) are included.

Website Build Application Build

The stack :

Developpement

When possible you whould be developping in website mode. You will get hot reload and faster compiles times. Warning : if you clone this repo and then push on github, the build actions will be activated.

Website

You can test and developpe your app as a website with $ npm run start then navigating to http://localhost:4200/

To do a test build you can run $ npm run build

Application

To test in electron $ npm run electron

Building for production

Website

If you want to export your app as a website you sure can !

You can run $ npm run build:prod to do that, it will be exported to /dist

Application

To build for the current platform you can run $ npm run electron:build To build for every platform you can run $ npm run electron:build:all

the output app should be in the /release directory