Skip to content

Commit 32eb2e7

Browse files
committed
chore: added jsdelivr files to readme
1 parent f8ec2d0 commit 32eb2e7

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

README.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66

77
## usage
88

9-
1. Install via either [bower](http://bower.io/), [npm](https://www.npmjs.com/) or downloaded files:
9+
1. Install via either [bower](http://bower.io/), [npm](https://www.npmjs.com/), CND or downloaded files:
1010
1. `bower install --save bootstrap-block-grid`
1111
2. `npm install --save bootstrap-block-grid`
12-
3. download [bootstrap-block-grid.zip](https://github.com/JohnnyTheTank/bootstrap-block-grid/zipball/master)
12+
3. use CDN files from [jsdelivr](http://www.jsdelivr.com/projects)
13+
4. download [bootstrap-block-grid.zip](https://github.com/JohnnyTheTank/bootstrap-block-grid/zipball/master)
1314
2. Add files to your html
1415
1. when using bower
1516
```html
1617
<!-- bootstrap 3 -->
1718
<script src="bower_components/bootstrap-block-grid/dist/bootstrap3-block-grid.min.css"></script>
18-
1919
<!-- bootstrap 4 -->
2020
<script src="bower_components/bootstrap-block-grid/dist/bootstrap4-block-grid.min.css"></script>
2121
```
@@ -24,16 +24,22 @@
2424
```html
2525
<!-- bootstrap 3 -->
2626
<script src="node_modules/bootstrap-block-grid/dist/bootstrap3-block-grid.min.css"></script>
27-
2827
<!-- bootstrap 4 -->
2928
<script src="node_modules/bootstrap-block-grid/dist/bootstrap4-block-grid.min.css"></script>
3029
```
3130

32-
3. when using downloaded files
31+
3. when using CDN files from jsdelivr
3332
```html
3433
<!-- bootstrap 3 -->
35-
<script src="bootstrap3-block-grid.min.css"></script>
34+
<script src="//cdn.jsdelivr.net/bootstrap.block-grid/1.1.4/bootstrap3-block-grid.min.css"></script>
35+
<!-- bootstrap 4 -->
36+
<script src="//cdn.jsdelivr.net/bootstrap.block-grid/1.1.4/bootstrap4-block-grid.min.css"></script>
37+
```
3638

39+
4. when using downloaded files
40+
```html
41+
<!-- bootstrap 3 -->
42+
<script src="bootstrap3-block-grid.min.css"></script>
3743
<!-- bootstrap 4 -->
3844
<script src="bootstrap4-block-grid.min.css"></script>
3945
```

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"authors": [
55
"Jonathan Hornung <[email protected]>"
66
],
7-
"version": "1.1.3",
7+
"version": "1.1.4",
88
"description": "block grid for bootstrap",
99
"main": "dist/bootstrap3-block-grid.min.css",
1010
"moduleType": [

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-block-grid",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "block grid for bootstrap",
55
"main": "Gruntfile.js",
66
"scripts": {
@@ -25,6 +25,9 @@
2525
"url": "https://github.com/JohnnyTheTank/bootstrap-block-grid/issues"
2626
},
2727
"homepage": "https://github.com/JohnnyTheTank/bootstrap-block-grid#readme",
28+
"dependencies": {
29+
"bootstrap": "*"
30+
},
2831
"devDependencies": {
2932
"grunt": "^0.4.5",
3033
"grunt-contrib-sass": "^0.9.2",

0 commit comments

Comments
 (0)