Skip to content

Commit 651a254

Browse files
committed
Document how to install dependencies
1 parent 9885e08 commit 651a254

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

template/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ You don’t have to ever use `eject`. The curated feature set is suitable for sm
7070

7171
## How To...
7272

73+
### Install a Dependency
74+
75+
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`:
76+
77+
```
78+
npm install --save <library-name>
79+
```
80+
7381
### Import a Component
7482

7583
This project setup supports ES6 modules thanks to Babel.

0 commit comments

Comments
 (0)