From 654f3d158ed404fceb011a905791bad139f7c7af Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih Date: Sat, 23 Sep 2023 19:07:45 +0900 Subject: [PATCH] (fix) prerenderer error --- components/content/ProseA.vue | 2 +- components/g/NuxtLink.vue | 36 +++++++++++++++++------------------ components/index/Sponsors.vue | 12 ++++++------ components/servers/Item.vue | 4 ++-- i18n.config.ts | 1 + pages/blog/index.vue | 4 ++-- pages/brand-assets.vue | 2 +- pages/servers.vue | 2 +- pages/test.vue | 13 +++++++++++++ 9 files changed, 45 insertions(+), 31 deletions(-) create mode 100644 pages/test.vue diff --git a/components/content/ProseA.vue b/components/content/ProseA.vue index 5ff6d829..6d137e55 100644 --- a/components/content/ProseA.vue +++ b/components/content/ProseA.vue @@ -1,6 +1,6 @@ - - \ No newline at end of file diff --git a/components/index/Sponsors.vue b/components/index/Sponsors.vue index c08ffee8..cd2d39f5 100644 --- a/components/index/Sponsors.vue +++ b/components/index/Sponsors.vue @@ -3,15 +3,15 @@

{{ $t('_landing._sponsors.title') }}

- + - - + + - - + + - +
diff --git a/components/servers/Item.vue b/components/servers/Item.vue index e1aa80c1..e769cd06 100644 --- a/components/servers/Item.vue +++ b/components/servers/Item.vue @@ -1,6 +1,6 @@ diff --git a/i18n.config.ts b/i18n.config.ts index 5a7a6d05..fba100d4 100644 --- a/i18n.config.ts +++ b/i18n.config.ts @@ -4,6 +4,7 @@ import en from '@/locales/en-US.yml'; export default defineI18nConfig(() => ({ legacy: false, locale: 'ja', + fallbackLocale: 'ja', messages: { ja, en, diff --git a/pages/blog/index.vue b/pages/blog/index.vue index 81cce777..b1af6476 100644 --- a/pages/blog/index.vue +++ b/pages/blog/index.vue @@ -17,7 +17,7 @@
-

{{ item.navTitle || item.title }}

{{ item.date ? $d(new Date(item.date)) : '' }}

-
+
diff --git a/pages/brand-assets.vue b/pages/brand-assets.vue index bbdba0f5..6e7fdc37 100644 --- a/pages/brand-assets.vue +++ b/pages/brand-assets.vue @@ -33,7 +33,7 @@ ]" />

{{ $t('_brandAssets.license') }}

- +