Ultima attività 1731092050

Uppy-3.html Raw
1<!-- 1. Add CSS to `<head>` -->
2<link
3 href="https://releases.transloadit.com/uppy/v4.6.0/uppy.min.css"
4 rel="stylesheet"
5/>
6
7<!-- 2. Initialize -->
8<div id="files-drag-drop"></div>
9<script type="module">
10 import {
11 Uppy,
12 Dashboard,
13 Tus,
14 } from 'https://releases.transloadit.com/uppy/v4.6.0/uppy.min.mjs'
15
16 const uppy = new Uppy()
17 uppy.use(Dashboard, { target: '#files-drag-drop' })
18 uppy.use(Tus, { endpoint: 'https://tusd.tusdemo.net/files/' })
19</script>