From aa9b876dbd06f6dac9b1fd1ffa57f80251aecff4 Mon Sep 17 00:00:00 2001 From: Ronan Jouchet Date: Mon, 27 Apr 2015 15:47:23 -0400 Subject: [PATCH 1/2] Getting Started: document concerns/recommendations on including Bootstrap As discussed in #487 and commented by @mtscout6 @dozoisch --- docs/src/GettingStartedPage.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/src/GettingStartedPage.js b/docs/src/GettingStartedPage.js index 98e3b90525..148a5c565c 100644 --- a/docs/src/GettingStartedPage.js +++ b/docs/src/GettingStartedPage.js @@ -21,7 +21,12 @@ const Page = React.createClass({

Setup

You can import the lib as AMD modules, CommonJS modules, or as a global JS script.

-

First add the Bootstrap CSS to your project; check here if you have not already done that. Then:

+

First add the Bootstrap CSS to your project; check here if you have not already done that. Note that:

+ +

Then:

CommonJS

From 390dc6aff2a6b572159505e845c66d21866b7b27 Mon Sep 17 00:00:00 2001 From: Ronan Jouchet Date: Mon, 27 Apr 2015 19:08:39 -0400 Subject: [PATCH 2/2] Precise Bootstrap version requirements --- docs/src/GettingStartedPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/GettingStartedPage.js b/docs/src/GettingStartedPage.js index 148a5c565c..4e60afbcb7 100644 --- a/docs/src/GettingStartedPage.js +++ b/docs/src/GettingStartedPage.js @@ -24,7 +24,7 @@ const Page = React.createClass({

First add the Bootstrap CSS to your project; check here if you have not already done that. Note that:

  • Because many folks use custom bootstrap themes, we do not directly depend on Bootstrap. It is up to you to to determine how you get and link to the bootstrap css and fonts.
  • -
  • React-Bootstrap doesn't really depend on any bootstrap version (unless there are big breaking changes in the main lib, which are pretty rare). Just have bootstrap in your dependencies and ensure your build can read your less/sass/scss entry point.
  • +
  • React-Bootstrap doesn't depend on a very precise version of Bootstrap. Just pull the latest and, in case of trouble, take hints on the version used by this documentation page. Then, have bootstrap in your dependencies and ensure your build can read your less/sass/scss entry point.

Then: