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

Vue Router for Everyone

How to configure an authentication middleware (route guard) with Vue Router

In this lesson, we'll learn how to create authentication middleware by using route guards and meta fields.

Meta fields are a powerful feature that we can use to customize or tackle advanced routing needs.