---------------------- I'm sorry, but the knowledge sources provided do not contain explicit information about a router state inconsistency with nested page routing and i18n in Nuxt, specifically regarding the inability of the router to find a named route (like 'dashboard-knowledge-notes-details') at navigation time, despite it being defined with definePageMeta.
However, there are some related insights:
Custom or dynamic route naming in Nuxt is handled via definePageMeta, and the route name should match the generated route name based on the file structure and any customizations in definePageMeta. If the route name is not correctly registered or if there is a mismatch between the expected and actual route names, navigation issues can occur Docs: definePageMeta.
There have been reports of issues with custom route generation and i18n, especially after Nuxt upgrades, where route names for children needed to be adjusted to avoid errors. For example, appending '_child' to child route names resolved certain issues after an upgrade Github Issue: Folder-based routing breaks after migrating from 3.11 to 3.16.
When using i18n and custom routing, ensure that the route names used in navigation match exactly what is registered in the router, especially if you are generating or modifying routes programmatically.
If you are using custom plugins or utilities to generate localized routes, as seen in the referenced GitHub issue, changes in Nuxt's internal routing between versions may require you to adjust how route names are generated for nested routes.
In summary, while the knowledge sources do not provide a direct solution to your specific router state inconsistency, they suggest that route name mismatches—especially with nested and localized routes—can cause the router to fail to resolve the intended route. Double-check your route naming conventions, especially after Nuxt or module upgrades, and consider reviewing any custom route generation logic for compatibility with your current Nuxt version.
If you need more targeted help, providing a minimal reproduction or more details about your custom route generation and i18n setup may help identify the root cause. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------