Closed bekdauletarynbek closed 1 year ago
Thank you for reporting your issue!
Unfortunately your description is not sufficient for us to figure out what is causing your issue, could you please provide a minimal reproduction project for us to debug locally?
switchToLocaePath not working
prefix not added
@BobbieGoede show my source code ?)
@BobbieGoede where i can see auto generated routes in .nuxt directory? And how auto generate is works, because routing is works, but nuxt-i18n can't resolve of the files for auto generate
@BobbieGoede show my source code ?)
A minimal reproduction is a project that reproduces your issue, this could be your source code (which is understandably not ideal), or more preferably a new small project with a similar configuration that recreates the same issue you are experiencing. You could for example use the nuxt starter for this.
@BobbieGoede where i can see auto generated routes in .nuxt directory? And how auto generate is works, because routing is works, but nuxt-i18n can't resolve of the files for auto generate
As you mentioned, usually you can see which routes have been generated in Vue Devtools in the Routes tab, or enable Nuxt DevTools and see all routes in the Pages window.
all functionality is works perfect but strategy not working, and i think i cannot do all things in new project 🥲
I've backed from short vacation.
as mention @BobbieGoede, We need minimal reproduction because we cannot reproduce your issue in out enviroment.
nuxt i18n module issue guidline says:
Please use a template below to create a minimal reproduction, and provide to us your issue cases 👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
Could you give your minimal reproduction to us please?
sorry, next week i will be continue investigate, why is autogenerate is not working i think it is my local problem with packages, because my old realization is working, before we are ending migration to nuxt 3.6.5
i think it is because of layouts, when i integrated layouts works in extended pages level, now it is works by layouts direcory, and routes works in extended pages
all problem it is redirect in main path, we deleted redirect in main, and all routing is worked
Environment
Nuxt 3.6.5 Nuxt-i18n 8.0.0.rc-2 or 8.0.0.beta-13
Reproduction
Created routes and migrated to 3.6.5 from 3.0.0
Describe the bug
So we are migrated from 3.0.0.rc-10 and i started works with adding nuxt-i18n. Nuxt-i18n auto installed nuxt 3.6.2 and everything is worked. But when i pulled new branch with migrated Nuxt 3.6.5, all my configs stop working. I checked routes, checked how it is included, adding module before @nuxtjs/i18n and all of this is not working For example: Routes not auto generated, and when i use starategy: 'prefix', and go to localhost, prefix not added. I check in Vue Devtools route component and name of component is same of route, and prefix not added @kazupon you can check of this bug, or this is only in my project ?)
Additional context
No response
Logs
No response