Skip to content

inexuscore/ng-can-deactivate-guard-example

Repository files navigation

Angular CanDeactivate Guard Tutorial

This repository holds the sample code for my blog post Angular CanDeactivate Guard Tutorial.

CanDeactivate Guard Demo

The project was generated using Angular CLI 11.2.5. There are 2 dependencies:

Clone the repository

https://github.com/inexuscore/ng-can-deactivate-guard-example.git

Install npm packages

npm install

Run the project

npm start

Development server

Run ng serve or npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

©2021 Armin Zia