Dynamically generating pages using GraphQL queries #11528
-
The title of the discussion pretty much sums up what I want to do. But let me go into some more detail: With Gatsby, inside your /cc @nikitavoloboev |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In general would recommend reading the full document here: https://nextjs.org/docs/basic-features/data-fetching But what you're looking for specifically is |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply @timneutkens 🙏 This is exactly what I was looking for :) |
Beta Was this translation helpful? Give feedback.
In general would recommend reading the full document here: https://nextjs.org/docs/basic-features/data-fetching
But what you're looking for specifically is
getStaticPaths
: https://nextjs.org/docs/basic-features/data-fetching#getstaticpaths-static-generation which allows you to generate dynamic paths