Complete the i18n migration by switching runtime setup and remaining components to i18next-vue, and add shared locale constants/helpers for SSR and client language handling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
520 B
Vue
16 lines
520 B
Vue
<template>
|
|
<vue-head :input="{ title: t('notFound.headTitle') }" />
|
|
<div class="mx-auto text-center mt-20 flex flex-col items-center gap-4">
|
|
<h1>{{ t('notFound.title') }}</h1>
|
|
<p>{{ t('notFound.description') }}</p>
|
|
<router-link class="btn btn-primary" to="/">{{ t('notFound.backHome') }}</router-link>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { VueHead } from '@/components/VueHead';
|
|
import { useTranslation } from 'i18next-vue';
|
|
|
|
const { t } = useTranslation();
|
|
</script>
|