FitTrackee/fittrackee_client/src/components/Common/NotFound.vue

27 lines
453 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 lang="ts">
import { defineComponent } from 'vue'
import Error from '@/components/Common/Error.vue'
export default defineComponent({
name: 'NotFound',
2021-09-23 16:45:57 +02:00
components: {
Error,
},
props: {
target: {
type: String,
default: 'PAGE',
},
},
})
</script>