Dynamic Routing with static endpoints
Unanswered
Cape horse mackerel posted this in #help-forum
Cape horse mackerelOP
Hi everyone, I was wondering if it's possible to generate a routing structure like this:
https:// domain/[strategy]/vault/page.tsx
https:// domain/[strategy]/analytics/page.tsx
where I generate static :strategy endpoints with generateStaticParams() inside the [strategy] page.tsx file, but what I'm looking for is that it generates some :strategy endpoint depending on a db data and at the same time generates a vault and analytics page that will get the strategy param to render a different content for each different :strategy.
Is this possible?
https:// domain/[strategy]/vault/page.tsx
https:// domain/[strategy]/analytics/page.tsx
where I generate static :strategy endpoints with generateStaticParams() inside the [strategy] page.tsx file, but what I'm looking for is that it generates some :strategy endpoint depending on a db data and at the same time generates a vault and analytics page that will get the strategy param to render a different content for each different :strategy.
Is this possible?