Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

The Vue.js Master Class

Componentless Routes with Navigation Guards

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).