In Create a Custom Gatsbyjs Recipe for Installing NPM Packages you learned how to write a Gatsby Recipe to install an NPM Package. For gatsby plugins and themes, there is a config step as well.
In this lesson we will create a new step within a recipe that will install the gatsby-plugin-postcss
package and configure it within gatsby-config.js
using the GatsbyPlugin
component. NOTE: Options support for configuring plugins coming soon.