Skip to content

Commit f97b1bb

Browse files
dantharejamxstbr
authored andcommitted
Document how to install dependencies (#223)
1 parent 9885e08 commit f97b1bb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

template/README.md

+8
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)