gatsby

Gatsby - See All Generated Pages

See all the pages generated by Gatsby.

Abhith Rajan
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,

query MyQuery {
  allSitePage {
    edges {
      node {
        path
      }
    }
  }
}

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


Abhith Rajan

Written byAbhith Rajan
Abhith Rajan is a software engineer by day and a full-stack developer by night. He's coding for almost a decade now. He codes 🧑‍💻, write ✍️, learn 📖 and advocate 👍.
Connect

Is this page helpful?

Related ArticlesView All

Related VideosView All

GatsbyJS & Analytics: How to Add Google Analytics 4.0 To a Gatsby Site Using Gtag