Skip to content

Commit

Permalink
docs(Home/index.js): link to right create-react-app instructions (#1494)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
y-code authored and TheSharpieOne committed May 20, 2019
1 parent 1e21a28 commit 51608ef
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/lib/Home/index.js
Expand Up @@ -48,14 +48,12 @@ export default () => {
</PrismCode>
</pre>
<h3 className="mt-5">Getting Started with Create React App</h3>
<p>Follow the <a href="https://github.com/facebookincubator/create-react-app#getting-started" target="_blank">create-react-app instructions</a> up to the <code>Adding Bootstrap</code> section and instead follow the reactstrap version of adding bootstrap.</p>
<p>Follow the <a href="https://facebook.github.io/create-react-app/docs/getting-started" target="_blank">Create React App instructions</a> and then follow the <a href="https://facebook.github.io/create-react-app/docs/adding-bootstrap" target="_blank">Adding Bootstrap instructions</a>.</p>
<h4>tl;dr</h4>
<pre>
<PrismCode className="language-bash">
{`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`}
</PrismCode>
</pre>
Expand All @@ -66,7 +64,7 @@ npm start`}
<p>Install reactstrap and Bootstrap from NPM. Reactstrap does not include Bootstrap CSS so this needs to be installed as well:</p>
<pre>
<PrismCode className="language-bash">
{`npm install bootstrap --save
{`npm install --save bootstrap
npm install --save reactstrap react react-dom`}
</PrismCode>
</pre>
Expand Down

0 comments on commit 51608ef

Please sign in to comment.