Commit 92a06805 authored by Joe Woodhouse's avatar Joe Woodhouse Committed by Dan Abramov
Browse files

Add note about when to import bootstrap CSS. (#1618)

* Add note about when to import bootstrap CSS.

* Tweak
parent 646690b2
4 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file,!1933Add note about installing watchman
Showing with 3 additions and 1 deletion
+3 -1
...@@ -560,11 +560,13 @@ npm install react-bootstrap --save ...@@ -560,11 +560,13 @@ npm install react-bootstrap --save
npm install bootstrap@3 --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 ```js
import 'bootstrap/dist/css/bootstrap.css'; import 'bootstrap/dist/css/bootstrap.css';
import 'bootstrap/dist/css/bootstrap-theme.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: Import required React Bootstrap components within ```src/App.js``` file or your custom component files:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment