浏览代码

add the no-prefix strategy to vue-i18n

Olivier Massot 1 年之前
父节点
当前提交
bce10339de
共有 1 个文件被更改,包括 1 次插入0 次删除
  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',