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!

Creating a Not Found Page with Vue Router

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

The Composition API Masterclass is coming soon!

Since we're creating a single page application, we need to create a route that will catch all non-existing pages/routes.

In this lesson, we'll learn how to redirect an URL to a different route and how to serve all non-registered routes with a so-called soft 404 page.

Lesson Resources