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

Vue Router for Everyone (Vue 2)

  • Previous
  • -10s

  • 1x
  • +10s
  • Next

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.