🚧 Feat : implement 404 error page

This commit is contained in:
Freeze455
2021-08-17 01:07:16 +02:00
parent 212952007d
commit 7770e8f091
7 changed files with 541 additions and 3 deletions

View File

@@ -4,11 +4,13 @@ import { createApp } from 'vue'
import App from './templates/layouts/Base.vue'
import { createRouter, createWebHistory } from 'vue-router'
import Default from './templates/modules/default/Routes'
import Error from './templates/modules/default/Error.vue'
const router = createRouter({
history: createWebHistory(),
routes: [
...Default,
{ path: '/:pathMatch(.*)*', component: Error }
]
})