1. 3
    Use configuration parameters for a Gatsby source plugin
    1m 5s

Use configuration parameters for a Gatsby source plugin

Share this video with your friends

Send Tweet

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.