From 17f76e59648b3341deac1eacb0bf15188553479c Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Mon, 28 Nov 2022 21:41:41 +0800 Subject: [PATCH] fix(i18n): `no_prefix` strategy --- nuxt.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 8de946f0..b679f94b 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -78,6 +78,8 @@ export default defineNuxtConfig({ name: '简体中文', }, ], + strategy: 'no_prefix', + detectBrowserLanguage: false, // TODO: // lazy: true, langDir: 'locales',