gatsby ,

Gatsby - See All Generated Pages

by Abhith Rajan FollowOctober 05, 2019 · 1 min read · Last Updated:
Share this

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 by Abhith Rajan FollowBuy me a coffee
Abhith Rajan is an aspiring software engineer with more than 6 years of experience and proven successful track record of delivering technology-based products and services.