In-component guards are useful in certain scenarios, in this lesson we're learning how to set the guard directly in the Vue router.
We will also learn how we can create navigation guards for componentless routes (such as logout).