Steps to add data to a Gatsby project, using GrahQL to query an external API at build time:
- add
sourceNodeto gatsby-node.js - Check the data from the Graphiql UI: http://localhost:8000/___graphql
- Inject data to components or template by
exporting aqueryproperty, in addtion of the default export.