Pārlūkot izejas kodu

add the no-prefix strategy to vue-i18n

Olivier Massot 1 gadu atpakaļ
vecāks
revīzija
bce10339de
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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',