Fundamentally, our admin panel is now complete, but there are a few things we need to do in order to just clean things up a little and fix a few minor bugs that have crept in as we've changed things.
Tidying things up
Linking to the admin panel
For starters, the only way of accessing the admin panel is to manually enter /admin as the relative URL path in your browser. Some sites prefer this as an approach, so it's not obvious that such an area of the app even exists, unless you know it's there. However, if this isn't the case, then we need to add a link to it from our main nav menu—but only displayed if the current user belongs to the Admin role.
Open up the ClientApp/components/App.vue file and...