Skip to content

Example Angular

Tomasz Łukawski edited this page Jun 28, 2020 · 8 revisions

Set up Angluar environment

https://angular.io/cli

Import example

Enter to example directory

cd examples/angular/hello-world

Install dependencies

npm install

Build and serve example

ng serve

Build production package on web side

ng build --baseHref="./"

Verify

Open in browser (Chrome is prefered) http://localhost:4200

Add PWA support

ng add @angular/pwa

Add new component spin

ng generate spin