Skip to content

Commit 7829fd4

Browse files
committed
Use node_modules/bootstrap/dist files instead of downloading them
1 parent 7f43b3a commit 7829fd4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tutorial/08-bootstrap-jss.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ For this reason, I'm going to make the tradeoff of integrating the official rele
2121

2222
- Delete `public/css/style.css`
2323

24-
- Download the latest official release from Bootstrap and put `bootstrap.min.css` and `bootstrap.min.css.map` in the `public/css` folder.
24+
- Run `yarn add bootstrap@4.0.0-alpha.6`
25+
26+
- Copy `bootstrap.min.css` and `bootstrap.min.css.map` from `node_modules/bootstrap/dist` to your `public/css` folder.
2527

2628
- Edit `src/server/render-app.jsx` like so:
2729

@@ -33,7 +35,7 @@ For this reason, I'm going to make the tradeoff of integrating the official rele
3335

3436
Now that we have Bootstrap's styles loaded on our page, we need the JavaScript behavior for the components.
3537

36-
- Run `yarn add jquery tether bootstrap@4.0.0-alpha.6`
38+
- Run `yarn add jquery tether`
3739

3840
- Edit `src/client/index.jsx` like so:
3941

0 commit comments

Comments
 (0)