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

Master Vue.js with Vue School Premium

$25 / month

Vue Router for Everyone

Get access to this course, 17 others, and future Vue.js courses!

Start Learning

Already got an account? Log in

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.