You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each chapter comes with serveral sample apps included in the same project, e.g. chapter3/router-samples. To run a particular app, you need to know its name.
In Angular 5, you can open the file .angular-cli.json and see the names of the apps configured in the apps property there. For example, the first app is configured as "name": "basic". To run this app (after you did npm install), run the following command: ng serve --app basic. In Angular 6, the file .angular-cli.json is replaced with angular.json, and there's no need to specify the --app option; for example, you can start the app named basic like this ng serve basic.
In chapters 2, 3, and 5 we build the ngAuction app that uses Bootstrap 4, and starting from chapter 7 we re-write ngAuction to using Angular Material and Flex Layout libraries (no more Bootstrap). To run ngAction that comes with chapters 13,14, and 15, you need to start the server and the client in separate command windows. ngAuction from chapter 15 uses ngrx for app state management.
For Angular training inquiries send an email to training @ faratasystems.com
UPDATE (September 2019). While upgrading the ng-auction to Angular 8, the components that used the flex-layout library wouldn't compile. In the older versions of flex-layout we used ObservableMedia, which is deprecated.
We replaced it with the MediaObserver in chapter13/ngauction
About
Code samples for the second edition of the Angular book