fix(i18n): no_prefix strategy

This commit is contained in:
Anthony Fu 2022-11-28 21:41:41 +08:00
parent a96755dd36
commit 17f76e5964

View file

@ -78,6 +78,8 @@ export default defineNuxtConfig({
name: '简体中文', name: '简体中文',
}, },
], ],
strategy: 'no_prefix',
detectBrowserLanguage: false,
// TODO: // TODO:
// lazy: true, // lazy: true,
langDir: 'locales', langDir: 'locales',