File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,20 @@ The easiest way to use react-sortablejs is to install it from npm and include it
13
13
npm install --save react-sortablejs
14
14
```
15
15
16
- You can create a standalone module using webpack:
16
+ You can create a standalone ES5 module using webpack:
17
17
``` bash
18
+ $ git clone https://github.com/cheton/react-sortable.git
19
+ $ cd react-sortable
18
20
$ 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 >
20
30
```
21
31
22
32
## Options
You can’t perform that action at this time.
0 commit comments