fix: 404 route

This commit is contained in:
Dominik Pschenitschni 2024-11-07 23:22:06 +01:00
parent c781be2d86
commit 1803135c17
1 changed files with 4 additions and 1 deletions

View File

@ -8,10 +8,13 @@
<script setup lang="ts">
import {useTitle} from '@/composables/useTitle'
// regarding the name of this component, see
// https://github.com/posva/unplugin-vue-router/issues/412#issuecomment-2150643118
definePage({
name: 'not-found',
alias: '/:pathMatch(.*)*',
})
defineOptions({ name: 'NotFound' })
useTitle(() => '404')
</script>