Duration
3 min
Access
Pro
Transcript
Available

Gatsby themes accept options. Learn how to read these options and generate pages from the correct data at the appropriate locations.

In this lesson, we'll:

  • turn the gatsby-config into a function
  • pass in options as arguments to that function
  • update gatsby-node to reference the options passed in

For a written version of this course, check out the Gatsby docs.

In a consuming package, you can configure the options object however you need to within the plugins array.