🚧 NOTICE: You are watching a Vue.js 2 lesson
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.