Questions tagged [generatestaticparams]

3 questions
2
votes
0 answers

In Nextjs 13 (app router), how to use generateStaticParams with Firebase (Firestore) to generate dynamic pages?

I have build a listing page that lists down all the firestore docs (coffeeplaces) from the firestore database, and when I click on one of them, I want to show an indiviual page with information about that specific place. But I have some difficulties…
2
votes
0 answers

GenerateStaticParams Not Working (404) when opting out of DynamicParams (Next13)

I feel like I must be missing something or misunderstand something. I am using generateStaticParams: export async function generateStaticParams() { let blogPosts = await prisma.posts.findMany({ where: { category: "POLITICS", }, …
0
votes
0 answers

Using generateStaticParams in next js 13

Please tell me about using generateStaticParams in ext js 13 and using it with an interceptor and a parallel route in these two pages I use this code export async function generateStaticParams(){ const data = await…
Derks
  • 11
  • 2