Vue.js 3 Options API Masterclass
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

404 Thread Show Page and Async Thread Data

🚧 PLEASE NOTE: This masterclass is built with the Options API
vuejs-masterclass

The Composition API Masterclass is coming soon!

Vue Router 4 let's us use async await on global navigation guards and route specific navigation guards alike.

In this lesson, we take what we learned about fetching async data in global navigation guards and use it to check if the thread exists in the ThreadShow beforeEnter route guard.