Skip to content

Commit aa8c8d7

Browse files
committed
Update README.md
1 parent baa350d commit aa8c8d7

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,20 @@ The easiest way to use react-sortablejs is to install it from npm and include it
1313
npm install --save react-sortablejs
1414
```
1515

16-
You can create a standalone module using webpack:
16+
You can create a standalone ES5 module using webpack:
1717
```bash
18+
$ git clone https://github.com/cheton/react-sortable.git
19+
$ cd react-sortable
1820
$ npm install
19-
$ webpack
21+
$ npm run dist
22+
```
23+
24+
Then, include the following scripts in your html:
25+
```html
26+
<script src="http://fb.me/react-0.14.7.js"></script>
27+
<script src="http://fb.me/react-dom-0.14.7.js"></script>
28+
<script src="http://cdnjs.cloudflare.com/ajax/libs/Sortable/1.4.2/Sortable.min.js"></script>
29+
<script src="dist/react-sortable.min.js"></script>
2030
```
2131

2232
## Options

0 commit comments

Comments
 (0)