Browse Source

add the no-prefix strategy to vue-i18n

Olivier Massot 1 năm trước cách đây
mục cha
commit
bce10339de
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      nuxt.config.ts

+ 1 - 0
nuxt.config.ts

@@ -191,6 +191,7 @@ export default defineNuxtConfig({
   i18n: {
     langDir: 'lang',
     lazy: true,
+    strategy: 'no_prefix',
     locales: [
       {
         code: 'en',