Skip to content

Commit bd4b0b7

Browse files
hanslivingstonewti806
authored andcommitted
Updated readme (#562)
1 parent 9cd08b9 commit bd4b0b7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,11 @@ stylesheet. The supported right-to-left languages are Arabic (ar), Farsi (fa), a
8383

8484
### Option 2: npm Module
8585

86-
Install FirebaseUI and its dependencies via npm using the following command:
86+
Install FirebaseUI and its peer-dependency Firebase via npm using the following
87+
commands:
8788

8889
```bash
90+
$ npm install firebase --save
8991
$ npm install firebaseui --save
9092
```
9193

@@ -94,7 +96,7 @@ You can then `require` the following modules within your source files:
9496
```javascript
9597
var firebase = require('firebase');
9698
var firebaseui = require('firebaseui');
97-
// or for ES6 imports.
99+
// or using ES6 imports:
98100
import * as firebaseui from 'firebaseui'
99101
```
100102

@@ -300,7 +302,7 @@ Here is how you would track the Auth state across all your pages:
300302
<h1>Welcome to My Awesome App</h1>
301303
<div id="sign-in-status"></div>
302304
<div id="sign-in"></div>
303-
<div id="account-details"></div>
305+
<pre id="account-details"></pre>
304306
</body>
305307
</html>
306308

0 commit comments

Comments
 (0)