C
C
coffeehoock2018-07-18 01:11:04
Angular
coffeehoock, 2018-07-18 01:11:04

What is the ng generate guard command for?

how to use guard what does it do ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Mazhekin, 2018-07-28
@mazhekin

The guard is hung on the route to prevent access to the page before it is loaded for some reason (not authorized, not the right role, etc.). In a broader sense, to perform any operations before generating a page or before closing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question