You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---Original---
From: "Bobbie ***@***.***>
Date: Tue, May 28, 2024 18:57 PM
To: ***@***.***>;
Cc: ***@***.***>;"State ***@***.***>;
Subject: Re: [nuxt-modules/i18n] how can i add prefix before i18n languageprefix? (Issue #2948)
Glad to hear you found a solution to your issue!
I wonder if setting the baseURL for the whole project would have worked as well https://nuxt.com/docs/api/nuxt-config#baseurl? 🤔
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
Describe the feature
Environment
My nuxt and i18n version are:
"@nuxtjs/i18n": "^8.3.1",
"nuxt": "^3.11.2"
Describe the feature
folderStructure
├── pages
│ └── wap
| └──page.ts
nuxt config
i18n: { baseUrl: 'https://my-nuxt-app.com', vueI18n: "./i18n.config.ts", locales: [ { code: "english", name: "english", }, { code: "japanese", name: "japanese", ] }
what's i want?
by default ,the route to this page is —— {lang}/wap/page, but i want it be —— wap/{lang}/page
Additional information
Final checks
The text was updated successfully, but these errors were encountered: