added 404 notfound behavior

This commit is contained in:
2020-07-21 11:42:23 +02:00
parent 9744b4695d
commit aebc2c28da
6 changed files with 76 additions and 2 deletions
+4
View File
@@ -55,6 +55,10 @@ export default {
.catch((error) => {
console.warn('Issue with nominum', error)
Promise.reject(error)
this.$router.replace({
name: 'notfound',
query: { fullpath: this.$route.path }
})
})
}
}