Wiring dynamic routes from CMS/other systems [locale]/[[...slug]] to static routes in App Router
Unanswered
Transvaal lion posted this in #help-forum
Transvaal lionOP
We're building an ecommerce where all our content is hosted in Contentful and all categories and products data is hosted in our own services.
Since all routes are completely dynamic [locale]/[[...slug]] we're missing out on a lot of built in Next magic.
Is there any way to somehow grab all the dynamic data (like when you build a sitemap) and then wire it up somehow to map it to the static routes?
Since all routes are completely dynamic [locale]/[[...slug]] we're missing out on a lot of built in Next magic.
Is there any way to somehow grab all the dynamic data (like when you build a sitemap) and then wire it up somehow to map it to the static routes?