Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Loading bootstrap just when we need it
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiscott committed Dec 22, 2017
1 parent 7583384 commit 0640242
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 16 deletions.
9 changes: 4 additions & 5 deletions dist/react-dashboard.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<link rel="stylesheet" type="text/css" href="static/react-dash-demo.min.css">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<body>
<div id='root'>
</div>
Expand Down
1 change: 0 additions & 1 deletion examples/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'bootstrap/dist/css/bootstrap.min.css';
import './nv.d3.min.css';
import 'react-select/dist/react-select.min.css';
import 'fixed-data-table/dist/fixed-data-table.min.css';
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"babel-runtime": "^6.6.1",
"bootstrap": "^3.3.7",
"bootstrap-grid": "^2.0.1",
"colorbrewer": "^1.0.0",
"css-loader": "^0.23.1",
"d3-time-format": "^0.3.1",
Expand Down
8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1106,14 +1106,6 @@ [email protected]:
dependencies:
hoek "2.x.x"

bootstrap-grid@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/bootstrap-grid/-/bootstrap-grid-2.0.1.tgz#5b40a7c6110bb63103fd95921d6bf5db6550738c"

bootstrap@^3.3.7:
version "3.3.7"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-3.3.7.tgz#5a389394549f23330875a3b150656574f8a9eb71"

brace-expansion@^1.0.0, brace-expansion@^1.1.7:
version "1.1.7"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.7.tgz#3effc3c50e000531fb720eaff80f0ae8ef23cf59"
Expand Down

0 comments on commit 0640242

Please sign in to comment.