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

Vue Router for Everyone

How to create a 404 Not Found route and page with Vue Router

In this lesson, we're learning how to create a route that catches all non-existing routes with vue router. This is the classic 404 Not found behavior.

We also learn how to use a navigation guard to make sure nested routes exists.