Client - add 404 error page

This commit is contained in:
Sam
2021-08-07 14:28:48 +02:00
parent ef6649a5dc
commit 0876373609
11 changed files with 139 additions and 0 deletions

View File

@ -0,0 +1,26 @@
<template>
<div class="not-found">
<Error
title="404"
:message="t('error.not-found.PAGE')"
:button-text="t('common.HOME')"
/>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import { useI18n } from 'vue-i18n'
import Error from '@/components/Error.vue'
export default defineComponent({
name: 'NotFound',
components: {
Error,
},
setup() {
const { t } = useI18n()
return { t }
},
})
</script>