Skip to content

Commit 726cf66

Browse files
Some README tweaks for v1.0.0
1 parent a6a1281 commit 726cf66

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ npm install --save firebase
2424
In your app:
2525
1. Import the `FirebaseAuth` component from `react-firebaseui` and import `firebase`.
2626
2. Configure Firebase as described in [the Firebase Docs](https://firebase.google.com/docs/web/setup).
27-
3. Configure Firebase UI as described in [firebase/firebaseui-web](https://github.com/firebase/firebaseui-web#configuration).
28-
4. Use the `FirebaseAuth` component in your template passing it the configuration and a Firebase Auth instance.
27+
3. Write a Firebase UI configuration as described in [firebase/firebaseui-web](https://github.com/firebase/firebaseui-web#configuration).
28+
4. Use the `FirebaseAuth` component in your template passing it the **Firebase UI configuration** and a **Firebase Auth instance**.
2929

3030

3131
### Using `FirebaseAuth` with a redirect
@@ -136,7 +136,7 @@ class SignInScreen extends React.Component {
136136

137137
## Packing your app
138138

139-
The `FirebaseAuth` component needs a global CSS to get proper styling. The CSS is already import within `FirebaseAuth`.
139+
The `FirebaseAuth` component needs a global CSS to get proper styling. The CSS is already imported within `FirebaseAuth`.
140140
If you are using webpack you'll need to add [CSS loaders](https://github.com/webpack-contrib/css-loader):
141141

142142
```js
@@ -183,6 +183,7 @@ If you are using CSS modules in your app you need to handle the CSS files in `/n
183183
plugins: [new ExtractTextPlugin('./bundle.css')],
184184
module: {
185185
rules: [
186+
// CSS loaders for CSS modules in your project. We exclude CSS files in ./node_modules
186187
{
187188
test: /\.css$/,
188189
exclude: [/\.global\./, /node_modules/],
@@ -203,6 +204,8 @@ If you are using CSS modules in your app you need to handle the CSS files in `/n
203204
]
204205
})
205206
},
207+
208+
// CSS loaders for global CSS files which includes files in ./node_modules
206209
{
207210
test: /\.css/,
208211
include: [/\.global\./, /node_modules/],

0 commit comments

Comments
 (0)