Skip to content

Commit

Permalink
chore: added jsdelivr files to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTheTank committed Jan 6, 2016
1 parent f8ec2d0 commit 32eb2e7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@

## usage

1. Install via either [bower](http://bower.io/), [npm](https://www.npmjs.com/) or downloaded files:
1. Install via either [bower](http://bower.io/), [npm](https://www.npmjs.com/), CND or downloaded files:
1. `bower install --save bootstrap-block-grid`
2. `npm install --save bootstrap-block-grid`
3. download [bootstrap-block-grid.zip](https://github.com/JohnnyTheTank/bootstrap-block-grid/zipball/master)
3. use CDN files from [jsdelivr](http://www.jsdelivr.com/projects)
4. download [bootstrap-block-grid.zip](https://github.com/JohnnyTheTank/bootstrap-block-grid/zipball/master)
2. Add files to your html
1. when using bower
```html
<!-- bootstrap 3 -->
<script src="bower_components/bootstrap-block-grid/dist/bootstrap3-block-grid.min.css"></script>

<!-- bootstrap 4 -->
<script src="bower_components/bootstrap-block-grid/dist/bootstrap4-block-grid.min.css"></script>
```
Expand All @@ -24,16 +24,22 @@
```html
<!-- bootstrap 3 -->
<script src="node_modules/bootstrap-block-grid/dist/bootstrap3-block-grid.min.css"></script>

<!-- bootstrap 4 -->
<script src="node_modules/bootstrap-block-grid/dist/bootstrap4-block-grid.min.css"></script>
```

3. when using downloaded files
3. when using CDN files from jsdelivr
```html
<!-- bootstrap 3 -->
<script src="bootstrap3-block-grid.min.css"></script>
<script src="//cdn.jsdelivr.net/bootstrap.block-grid/1.1.4/bootstrap3-block-grid.min.css"></script>
<!-- bootstrap 4 -->
<script src="//cdn.jsdelivr.net/bootstrap.block-grid/1.1.4/bootstrap4-block-grid.min.css"></script>
```

4. when using downloaded files
```html
<!-- bootstrap 3 -->
<script src="bootstrap3-block-grid.min.css"></script>
<!-- bootstrap 4 -->
<script src="bootstrap4-block-grid.min.css"></script>
```
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"authors": [
"Jonathan Hornung <[email protected]>"
],
"version": "1.1.3",
"version": "1.1.4",
"description": "block grid for bootstrap",
"main": "dist/bootstrap3-block-grid.min.css",
"moduleType": [
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-block-grid",
"version": "1.1.3",
"version": "1.1.4",
"description": "block grid for bootstrap",
"main": "Gruntfile.js",
"scripts": {
Expand All @@ -25,6 +25,9 @@
"url": "https://github.com/JohnnyTheTank/bootstrap-block-grid/issues"
},
"homepage": "https://github.com/JohnnyTheTank/bootstrap-block-grid#readme",
"dependencies": {
"bootstrap": "*"
},
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-sass": "^0.9.2",
Expand Down

0 comments on commit 32eb2e7

Please sign in to comment.