Bootstrap and package your project with Angular 10 and Electron 10 for creating Desktop applications.
Currently runs with:
- Angular v10.1.2
- Electron v10.1.2
With this sample, you can :
- Run your app in a local development environment with Electron
- Run your app in a production environment
Note: Angular 10.x CLI needs Node 10.13 or later to work correctly.
Clone this repository locally :
git clone https://github.com/razaqultegar/angular-electron.git
Install dependencies with npm :
npm install
There is an issue with yarn
and node_modules
when the application is built by the packager. Please use npm
as dependencies manager.
If you want to generate Angular components with Angular-cli , you MUST install @angular/cli
in npm global context.
Please follow Angular-cli documentation if you had installed a previous version of angular-cli
.
npm install -g @angular/cli