Skip to content

Commit

Permalink
Add note about when to import bootstrap CSS. (facebook#1618)
Browse files Browse the repository at this point in the history
* Add note about when to import bootstrap CSS.

* Tweak
  • Loading branch information
joewoodhouse authored and gaearon committed Feb 24, 2017
1 parent 28a9621 commit 4e99421
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,11 +560,13 @@ npm install react-bootstrap --save
npm install bootstrap@3 --save
```

Import Bootstrap CSS and optionally Bootstrap theme CSS in the ```src/index.js``` file:
Import Bootstrap CSS and optionally Bootstrap theme CSS in the beginning of your ```src/index.js``` file:

```js
import 'bootstrap/dist/css/bootstrap.css';
import 'bootstrap/dist/css/bootstrap-theme.css';
// Put any other imports below so that CSS from your
// components takes precedence over default styles.
```

Import required React Bootstrap components within ```src/App.js``` file or your custom component files:
Expand Down

0 comments on commit 4e99421

Please sign in to comment.