Gatsby - See All Generated Pages

See all the pages generated by Gatsby.

Abhith RajanOctober 05, 2019 · 1 min read · Last Updated:

If you want to see the list of pages generated by Gatsby, you can use the GraphiQL playground part of the Gatsby Dev (usually served on http://localhost:8000/___graphql).

Run the below query and you will be presented with the list of pages,

1query MyQuery {
2 allSitePage {
3 edges {
4 node {
5 path
6 }
7 }
8 }

Written by Abhith Rajan
Abhith Rajan is an aspiring software engineer with more than 8 years of experience and proven successful track record of delivering technology-based products and services.
Buy me a coffee

Was this helpful?

Show some ❤️

Share this page on Twitter to appear on the webmentions* 💡

This page is open source. Noticed a typo? Or something unclear?
Improve this page on GitHub

Related StoriesView All