From 4f0cdcffa94353fd0dba8489ef8d366a72d24e64 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 8 Jan 2018 14:36:28 +0000 Subject: [PATCH] Fix the router doc --- packages/react-scripts/template/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 0000867a..d6b74456 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -822,13 +822,13 @@ Create React App doesn't prescribe a specific routing solution, but [React Route To add it, run: ```sh -npm install --save react-router react-router-dom +npm install --save react-router-dom ``` Alternatively you may use `yarn`: ```sh -yarn add react-router react-router-dom +yarn add react-router-dom ``` To try it, delete all the code in `src/App.js` and replace it with any of the examples on its website. The [Basic Example](https://reacttraining.com/react-router/web/example/basic) is a good place to get started.