You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,19 @@ See [the docs](http://gaearon.github.io/react-dnd/docs-html5-backend.html) for u
5
5
6
6
## Installation
7
7
8
+
If you use [npm](http://npmjs.com):
9
+
8
10
```
9
11
npm install --save react-dnd-html5-backend
10
12
```
11
13
12
-
While we suggest you to use NPM, you can find the precompiled UMD build in the `dist` folder available on the [`latest` branch](https://github.com/gaearon/react-dnd-html5-backend/tree/latest/dist) as well as in every [tagged release](https://github.com/gaearon/react-dnd-html5-backend/releases). This is where you can point Bower if that’s what you use.
14
+
The npm package defaults to the CommonJS build.
15
+
16
+
However it also includes a pre-minified UMD build in the `dist` folder.
17
+
The UMD build exports a global `window.ReactDnDHTML5Backend` when imported as a `<script>` tag.
13
18
14
-
There is no `dist` folder on the master branch.
19
+
If you’d rather not use npm, you can use [npmcdn](http://npmcdn.com/) to access the UMD build directly: [ReactDnDHTML5Backend.min.js](https://npmcdn.com/react-dnd-html5-backend@2.0.2/dist/ReactDnDHTML5Backend.min.js).
0 commit comments