From 07bfd1d0e46a38b5b4ceb95cd1cda45308469763 Mon Sep 17 00:00:00 2001 From: Minsu Kim Date: Mon, 16 Oct 2023 10:26:00 +0700 Subject: [PATCH] :bug: fix: i18n undefined error in CF Pages --- nuxt.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nuxt.config.js b/nuxt.config.js index 2f2f862..89d13c7 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -52,11 +52,12 @@ export default { locales: [ { code: 'ko', iso: 'ko-KR', file: 'ko/index.js' }, { code: 'en', iso: 'en-US', file: 'en/index.js' }, + { code: 'en', iso: 'en-GB', file: 'en/index.js' }, { code: 'ja', iso: 'ja-JP', file: 'ja/index.js' }, { code: 'vi', iso: 'vi-VN', file: 'vi/index.js' }, ], langDir: 'locales/', - lazy: true, + lazy: false, defaultLocale: 'ko', strategy: 'prefix_and_default', vuex: {