|
@@ -67,7 +67,7 @@ const uppy = new Uppy()
|
|
|
$ npm install @uppy/core @uppy/dashboard @uppy/tus
|
|
|
```
|
|
|
|
|
|
-Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v3.1.0/uppy.min.css), either to your HTML page’s `<head>` or include in JS, if your bundler of choice supports it.
|
|
|
+Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v3.1.1/uppy.min.css), either to your HTML page’s `<head>` or include in JS, if your bundler of choice supports it.
|
|
|
|
|
|
Alternatively, you can also use a pre-built bundle from Transloadit’s CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object.
|
|
|
|
|
@@ -75,12 +75,12 @@ Alternatively, you can also use a pre-built bundle from Transloadit’s CDN: Edg
|
|
|
|
|
|
```html
|
|
|
<!-- 1. Add CSS to `<head>` -->
|
|
|
-<link href="https://releases.transloadit.com/uppy/v3.1.0/uppy.min.css" rel="stylesheet">
|
|
|
+<link href="https://releases.transloadit.com/uppy/v3.1.1/uppy.min.css" rel="stylesheet">
|
|
|
|
|
|
<!-- 2. Initialize -->
|
|
|
<div id="files-drag-drop"></div>
|
|
|
<script type="module">
|
|
|
- import { Uppy, Dashboard, Tus } from "https://releases.transloadit.com/uppy/v3.1.0/uppy.min.mjs"
|
|
|
+ import { Uppy, Dashboard, Tus } from "https://releases.transloadit.com/uppy/v3.1.1/uppy.min.mjs"
|
|
|
|
|
|
const uppy = new Uppy()
|
|
|
uppy.use(Dashboard, { target: '#files-drag-drop' })
|
|
@@ -182,7 +182,7 @@ If you’re using Uppy from CDN, those polyfills are already included in the leg
|
|
|
bundle, so no need to include anything additionally:
|
|
|
|
|
|
```html
|
|
|
-<script src="https://releases.transloadit.com/uppy/v3.1.0/uppy.legacy.min.js"></script>
|
|
|
+<script src="https://releases.transloadit.com/uppy/v3.1.1/uppy.legacy.min.js"></script>
|
|
|
```
|
|
|
|
|
|
## FAQ
|