So far when trying to do what Stucork did here, I get the error “AttributeError: ‘Window’ object has no attribute ‘Uppy’”.
In the native libraries, I copied what I saw on Uppy doc.
<!-- 1. Add CSS to `<head>` -->
<link href="https://releases.transloadit.com/uppy/v3.18.1/uppy.min.css" rel="stylesheet">
<!-- 2. Initialize -->
<div id="uppy"></div>
<script type="module">
import { Uppy, Tus } from "https://releases.transloadit.com/uppy/v3.18.1/uppy.min.mjs"
new Uppy().use(Tus, { endpoint: 'https://tusd.tusdemo.net/files' })
</script>
How to overcome this error in the first place ?