Update the Guest Middleware to use the Cached User
In this lesson, we update the guest middleware to also use the cached user from the useAuth composable instead of manually making the request to the user endpoint with axios.
In this lesson, we update the guest middleware to also use the cached user from the useAuth composable instead of manually making the request to the user endpoint with axios.
Our goal is to be the number one source of Vue.js knowledge for all skill levels. We offer the knowledge of our industry leaders through awesome video courses for a ridiculously low price.
More than 200.000 users have already joined us. You are welcome too!
© All rights reserved. Made with ❤️ by BitterBrains, Inc.