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
- Host: GitHub
- URL: https://github.com/thorstenhans/electron-ngx-sample
- Owner: ThorstenHans
- Created: 2016-01-07T11:56:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-04T13:33:46.000Z (about 9 years ago)
- Last Synced: 2025-04-06T01:32:28.055Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 233 KB
- Stars: 36
- Watchers: 4
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.