I am adding new pages from my own module as documented here.
I am configuring route translations as documented here.
And I get a warning: Couldn't find AnalyzedNuxtPageMeta by NuxtPage (...), so no custom route for it.
Additional context
Use case: I want to add and configure new pages in a headless CMS.
I debugged the issue to the getRouteOptionsFromPages function and it seems that the problem is that these pages I added and wish to translate the route of are not present in the Nuxt pages folder.
Update: I was able to resolve this issue by moving my module into it's own Nuxt Layer and making the module create and delete the page components itself inside the Nuxt pages folder of that layer.
Environment
Local environment:
StackBlitz reproduction environment:
Reproduction
https://stackblitz.com/edit/github-8ok7gy
Describe the bug
I am adding new pages from my own module as documented here. I am configuring route translations as documented here.
And I get a warning:
Couldn't find AnalyzedNuxtPageMeta by NuxtPage (...), so no custom route for it
.Additional context
Use case: I want to add and configure new pages in a headless CMS.
I debugged the issue to the
getRouteOptionsFromPages
function and it seems that the problem is that these pages I added and wish to translate the route of are not present in the Nuxtpages
folder.Logs
No response