An open API service indexing awesome lists of open source software.

https://github.com/thorstenhans/electron-ngx-sample

Angular2 Cross Platform Desktop App using TypeScript and Electron
https://github.com/thorstenhans/electron-ngx-sample

Last synced: about 1 year ago
JSON representation

Angular2 Cross Platform Desktop App using TypeScript and Electron

Awesome Lists containing this project

README

          

# electron-ngx-sample

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0.

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

[ngx-electron](https://github.com/thorstenhans/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.