Last active 1731092050

knox revised this gist 1731092050. Go to revision

1 file changed, 19 insertions

Uppy-3.html(file created)

@@ -0,0 +1,19 @@
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>
Newer Older