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

Master Vue.js with Vue School Premium

$25 / month

Vue Router for Everyone

Get access to this course, 17 others, and future Vue.js courses!

Start Learning

Already got an account? Log in

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.