remove vue-i18n

This commit is contained in:
2026-03-06 00:08:51 +07:00
parent dba9713d96
commit bbe15d5f3e
15 changed files with 2307 additions and 2289 deletions

View File

@@ -8,9 +8,9 @@
{{ content[route.name as keyof typeof content.value]?.title || '' }}
</h2>
<vue-head :input="{
title: content.value[route.name as keyof typeof content.value]?.headTitle || t('app.name'),
title: content[route.name as keyof typeof content.value]?.headTitle || t('app.name'),
meta: [
{ name: 'description', content: content.value[route.name as keyof typeof content.value]?.subtitle || '' }
{ name: 'description', content: content[route.name as keyof typeof content.value]?.subtitle || '' }
]
}" />
</div>
@@ -23,12 +23,12 @@
</div>
</template>
<script setup lang="ts">
import { useTranslation } from 'i18next-vue';
import { computed } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRoute } from 'vue-router';
const route = useRoute();
const { t } = useI18n();
const { t } = useTranslation();
const content = computed(() => ({
login: {