I'm building a site using Prismic and Slice Machine in Nuxt, but I'm struggling finding a solution for my nested routes. Here's what i want to achieve:
I have a "Pages" repeatable type in order to create various pages with slices.
One or more of these pages will have nested routes.
For example, the page "who-we-are" will have two levels of nested routes: "/who-we-are/:subUID" and "/who-we-are/:subUID/:memberUID" (ex: "/who-we-are/control-team/marika")
but i encountered another problem with :lang !
I don't know why the links are resolved with a work locale code like: /it-it/chi-siamo/organo-di-controllo/test, instead it needs to be: /it/chi-siamo/organo-di-controllo/test.
I don't know why the links are resolved with a work locale code like: /it-it/chi-siamo/organo-di-controllo/test, instead it needs to be: /it/chi-siamo/organo-di-controllo/test.
This wasn't possible earlier on, but with the updated route resolver, this is now possible, You can now target a lang it-it, and have the prefix decided manually in the path (/it/... in their case)