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
1313npm 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
You can’t perform that action at this time.
0 commit comments