21 lines
428 B
Vue
Raw Normal View History

2021-09-23 16:45:57 +02:00
<template>
<Error
title="404"
2021-10-20 17:38:25 +02:00
:message="$t(`error.NOT_FOUND.${target}`)"
2021-10-23 16:09:16 +02:00
:button-text="$t('common.HOME')"
2021-09-23 16:45:57 +02:00
/>
</template>
<script setup lang="ts">
import { toRefs, withDefaults } from 'vue'
2021-09-23 16:45:57 +02:00
import Error from '@/components/Common/Error.vue'
interface Props {
target?: string
}
const props = withDefaults(defineProps<Props>(), {
target: 'PAGE',
2021-09-23 16:45:57 +02:00
})
const { target } = toRefs(props)
2021-09-23 16:45:57 +02:00
</script>