Check out a free preview of the full Vuex for Intermediate Vue 2 Developers course:
The "Global Guards Exercise" Lesson is part of the full, Vuex for Intermediate Vue 2 Developers course featured in this preview video. Here's what you'd learn in this lesson:

Students are instructed to add metadata to the admin and inventory routes and create a global navigation guard that checks whether a user is logged in.

Get Unlimited Access Now

Transcript from the "Global Guards Exercise" Lesson

[00:00:00]
>> So, the next exercise is to add metadata to our admin and inventory route. So we're going to pull out the pull out navigation guards and add in our metadata and then we're going to create a global navigation guard that checks whether a user is logged in or not.