This lesson is for members. Join us?
Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!
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.
Links