From 51608efa78214a27aa511bf454726299bad295eb Mon Sep 17 00:00:00 2001 From: Yas Ikeda Date: Tue, 21 May 2019 05:04:19 +1200 Subject: [PATCH] docs(Home/index.js): link to right create-react-app instructions (#1494) * add a link to "Adding Bootstrap" page in reactstrap's doc site. It is because "Adding Bootstrap" section does not exist in reactstrap's README.md any more. * change the link to create-react-app GitHub so as to link to create-react-app's doc site, which is more informative. * update command lines in tl;dr section based on the corresponding ones in create-react-app's do --- docs/lib/Home/index.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/lib/Home/index.js b/docs/lib/Home/index.js index 306195f08..7c8124ec4 100644 --- a/docs/lib/Home/index.js +++ b/docs/lib/Home/index.js @@ -48,14 +48,12 @@ export default () => {

Getting Started with Create React App

-

Follow the create-react-app instructions up to the Adding Bootstrap section and instead follow the reactstrap version of adding bootstrap.

+

Follow the Create React App instructions and then follow the Adding Bootstrap instructions.

tl;dr

               
-{`npm install -g create-react-app
-
-create-react-app my-app
-cd my-app/
+{`npx create-react-app my-app
+cd my-app
 npm start`}
               
             
@@ -66,7 +64,7 @@ npm start`}

Install reactstrap and Bootstrap from NPM. Reactstrap does not include Bootstrap CSS so this needs to be installed as well:

               
-  {`npm install bootstrap --save
+  {`npm install --save bootstrap
 npm install --save reactstrap react react-dom`}