From cfa3ce046ba3d4bd4a8d9417d13de75c3ba42028 Mon Sep 17 00:00:00 2001 From: Kristin Baumann Date: Mon, 12 Nov 2018 00:53:58 +0100 Subject: [PATCH] docs: updated install hint for gatsby-plugin-typography (#9865) 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/). --- docs/docs/typography-js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/typography-js.md b/docs/docs/typography-js.md index cfa185cee1715..aac85e3c9b795 100644 --- a/docs/docs/typography-js.md +++ b/docs/docs/typography-js.md @@ -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: