Skip to content

Commit 4f0cdcf

Browse files
authoredJan 8, 2018
Fix the router doc
1 parent 5537126 commit 4f0cdcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎packages/react-scripts/template/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -822,13 +822,13 @@ Create React App doesn't prescribe a specific routing solution, but [React Route
822822
To add it, run:
823823

824824
```sh
825-
npm install --save react-router react-router-dom
825+
npm install --save react-router-dom
826826
```
827827

828828
Alternatively you may use `yarn`:
829829

830830
```sh
831-
yarn add react-router react-router-dom
831+
yarn add react-router-dom
832832
```
833833

834834
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.

0 commit comments

Comments
 (0)
Please sign in to comment.