FitTrackee/fittrackee_client/src/views/NotFound.vue

27 lines
498 B
Vue
Raw Normal View History

2021-08-07 14:28:48 +02:00
<template>
<div class="not-found">
<Error
title="404"
2021-08-11 21:12:20 +02:00
:message="t('error.NOT_FOUND.PAGE')"
2021-08-07 14:28:48 +02:00
: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>