Skip to content

Commit

Permalink
docs: updated install hint for gatsby-plugin-typography (#9865)
Browse files Browse the repository at this point in the history
Added typography and react-typography to the gatsby-plugin-typography install note, because these two peer dependencies need to be installed as well.

Same as on the package overview [here](https://www.gatsbyjs.org/packages/gatsby-plugin-typography/).
  • Loading branch information
kristinbaumann authored and pieh committed Nov 11, 2018
1 parent 78c65db commit cfa3ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/typography-js.md
Expand Up @@ -10,7 +10,7 @@ Typography.js is a JavaScript library that enables you to define and explore the

Gatsby has the plugin `gatsby-plugin-typography` to assist with introducting Typography.js library into your project.

You can install the plugin into your project by running the command `npm install gatsby-plugin-typography --save`
You can install the plugin and its peer dependencies into your project by running the command `npm install gatsby-plugin-typography react-typography typography --save`

After the installation of the plugin has completed, navigate to your `gatsby-config.js` file located in the root of your project's directory and add the plugin to the configuration:

Expand Down

0 comments on commit cfa3ce0

Please sign in to comment.