Next.js Discord

Discord Forum

SSR with App Router

Unanswered
Dwarf Hotot posted this in #help-forum
Open in Discord
Dwarf HototOP
Hey, I want to SSR posts on my blog page. The data comes from my CMS. How do I use getStaticPath so that I would SSR the posts correctly? This is what I currently have:

https://pastie.io/psknpg.coffee

3 Replies

@European sprat https://nextjs.org/docs/app/api-reference/functions/generate-static-params
Dwarf HototOP
I am using that, but that result 404 on all dynamics paths when building the app for me.