electron-ngx-sample icon indicating copy to clipboard operation
electron-ngx-sample copied to clipboard

Angular2 Cross Platform Desktop App using TypeScript and Electron

electron-ngx-sample

This project was generated with Angular CLI version 1.0.0.

It's demonstrating how to use Angular with GitHub Electron.

ngx-electron is used to easily access electron APIs from within the Angular App.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the web project. The build artifacts will be stored in the dist/web directory.

Run npm run prod to build the web project for production. The build artifacts will be stored in the dist/web directory.

Run npm run build-desktop to build the desktop project. The build artifacts will be stored in the dist/desktop directory.

Run npm run prod-desktop to build the desktop project for production. The build artifacts will be stored in the dist/desktop directory.