Skip to content

Commit 707ab11

Browse files
committed
add install notes
1 parent 0be3e4d commit 707ab11

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Join gridstack.js on Slack: https://gridstackjs.troolee.com
1818
- [Demo](#demo)
1919
- [Usage](#usage)
2020
- [Requirements](#requirements)
21+
- [Install](#install)
2122
- [Basic usage](#basic-usage)
2223
- [Options](#options)
2324
- [Grid attributes](#grid-attributes)
@@ -100,6 +101,29 @@ Usage
100101

101102
Note: You can still use [underscore.js](http://underscorejs.org) (>= 1.7.0) instead of lodash.js
102103

104+
## Install
105+
106+
* Using CDN:
107+
108+
```html
109+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/gridstack.js/0.2.4/gridstack.min.css" />
110+
<script type="text/javascript" src='//cdnjs.cloudflare.com/ajax/libs/gridstack.js/0.2.4/gridstack.min.js'></script>
111+
```
112+
113+
* Using bower:
114+
115+
```bash
116+
$ bower install gridstack
117+
```
118+
119+
* Using npm:
120+
121+
```bash
122+
$ npm install gridstack
123+
```
124+
125+
You can download files from `dist` directory as well.
126+
103127
## Basic usage
104128

105129
```html

0 commit comments

Comments
 (0)