Fixed dependency instructions in README

This commit is contained in:
Jacob Wenger
2016-02-08 12:03:05 -08:00
parent a172e3197c
commit 4c4e7b6dcd

View File

@@ -38,13 +38,16 @@ Firebase CDN. You can also download them from the
[React](http://facebook.github.io/react/downloads.html) can be downloaded directly from their
respective websites.
You can also install ReactFire via npm or Bower and its dependencies will be downloaded
automatically:
You can also install ReactFire via npm or Bower. If downloading via npm, you will have to install
React and Firebase separately (that is, they are `peerDependencies`):
```bash
$ npm install reactfire --save
$ npm install reactfire react firebase --save
```
On Bower, the React and Firebase dependencies will be downloaded automatically:
```bash
$ bower install reactfire --save
```