diff --git a/apps/frontend/app/layouts/default.vue b/apps/frontend/app/layouts/default.vue index 3135cb6..b8e77af 100644 --- a/apps/frontend/app/layouts/default.vue +++ b/apps/frontend/app/layouts/default.vue @@ -2,9 +2,7 @@ const route = useRoute() const { t } = useI18n() const head = useLocaleHead({ - addDirAttribute: true, - identifierAttribute: 'id', - addSeoAttributes: true, + key: 'id', }) const title = computed(() => route.meta.title && t(route.meta.title)) diff --git a/apps/frontend/i18n.config.ts b/apps/frontend/i18n/i18n.config.ts similarity index 93% rename from apps/frontend/i18n.config.ts rename to apps/frontend/i18n/i18n.config.ts index 3670887..3fdaa9d 100644 --- a/apps/frontend/i18n.config.ts +++ b/apps/frontend/i18n/i18n.config.ts @@ -10,5 +10,4 @@ export default defineI18nConfig(() => ({ en, vi, }, - flatJson: true, })) diff --git a/apps/frontend/nuxt.config.ts b/apps/frontend/nuxt.config.ts index 880ceb6..fc89df1 100644 --- a/apps/frontend/nuxt.config.ts +++ b/apps/frontend/nuxt.config.ts @@ -73,7 +73,7 @@ export default defineNuxtConfig({ i18n: { baseUrl: import.meta.env.NUXT_PUBLIC_FRONTEND_URL, - vueI18n: './i18n.config.ts', + vueI18n: 'i18n.config.ts', strategy: 'no_prefix', defaultLocale: 'en', locales: [