From 2b703f29c71d0f548bc9758b594fd8e02eeee63e Mon Sep 17 00:00:00 2001 From: shiraze Date: Tue, 12 Feb 2019 14:02:43 +0000 Subject: [PATCH] Update installing-a-dependency.md The "--save" option has not been needed since the release of npm 5.0.0 (released 26 May 2017) --- docusaurus/docs/installing-a-dependency.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/installing-a-dependency.md b/docusaurus/docs/installing-a-dependency.md index 6e356315ab2..fe185834be4 100644 --- a/docusaurus/docs/installing-a-dependency.md +++ b/docusaurus/docs/installing-a-dependency.md @@ -6,7 +6,7 @@ title: Installing a Dependency The generated project includes React and ReactDOM as dependencies. It also includes a set of scripts used by Create React App as a development dependency. You may install other dependencies (for example, React Router) with `npm`: ```sh -npm install --save react-router-dom +npm install react-router-dom ``` Alternatively you may use `yarn`: