diff --git a/src/router.js b/src/router.js index f9927fcb..630d4c07 100644 --- a/src/router.js +++ b/src/router.js @@ -121,6 +121,11 @@ const routes = [ path: '/about', name: 'About', component: () => import('./routes/About.vue') + }, + { + path: '*', + name: '404', + component: () => import('./routes/NotFound.vue') } ] diff --git a/src/routes/NotFound.vue b/src/routes/NotFound.vue new file mode 100644 index 00000000..f525615b --- /dev/null +++ b/src/routes/NotFound.vue @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + Page not found, sorry. + + Back + + + + + + \ No newline at end of file