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

Nuxt.js 3 Fundamentals

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Abort Navigation or Redirect In Nuxt Middleware

In this lesson, we learn how to use middleware to interrupt the normal navigation flow with Nuxt helper functions navigateTo and abortNavigation. This can be helpful for many use cases including redirecting anonymous users to login pages before granting access to admin spaces.