1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Use configuration parameters for a Gatsby source plugin

    gatsbyGatsby

    It's possible to pass configuration parameters to your Gatsby plugin. One use case is just allow the plugin to be used multiple times creating different queries that will be available for your site.

    To do this you need to refactor the origin plugin code to accept this parameters and update the gatsby-config.js file to set them there.