Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question