Back to Gatsby

Sourcing from YAML and JSON files

examples/using-gatsby-with-json-yaml/README.md

2.20.0456 B
Original Source

Sourcing from YAML and JSON files

Gatsby example that uses JSON files and YAML files as a means of sourcing data.

Live Version

Live version here

Routes

Below are listed the routes generated via GATSBY API

  • /page1
  • /page2
  • /page3
  • /page4
  • /page5

The route /json-at-buildtime and /yml-at-buildtime will show some JSON or YAML content loaded directly into a page component at build time.