Document viewer for touchscreen interactive tribunes
Install dependencies with npm :
npm install
Version 2.5.207
should be used for pdfjs-dist
package.
Reason
is described in this issue.
Install Angular-cli to be able to generate Angular components.
npm install -g @angular/cli
The application code is managed by main.ts
.
You can disable "Developer Tools" by commenting win.webContents.openDevTools();
in main.ts
.
This project does not generate components/services/directives with test file
(.spec
). If test file is required use flag --skip-tests=false
.
All components are generated with OnPush change detection strategy by default.
npm start
Command | Description |
---|---|
npm run build |
Build the app. Your built files are in the /dist folder. |
Command | Description |
---|---|
npm run ng:serve |
Execute the app in the browser |
npm run ng:serve:web |
Execute the app in the browser with hot reload |
npm run electron:local |
Builds your application and start electron |
Command | Description |
---|---|
npm run electron:build |
Build and create an app consumable based on your operating system |
npm run build:prod |
Build the app with Angular aot. Your built files are in the /dist folder. |