import Uppy from '@uppy/core'
import RemoteSources from '@uppy/remote-sources'
const uppy = new Uppy()
uppy.use(RemoteSources, {
companionUrl: 'https://your-companion-url',
})
npm install @uppy/remote-sources
# or
yarn add @uppy/remote-sources
Alternatively, you can also use this plugin in a pre-built bundle from
Transloadit’s CDN: Edgly. In that case Uppy.RemoteSources
will attach itself
to the global window.Uppy
object. See the
main Uppy documentation for instructions.
Documentation for this plugin can be found on the Uppy website.