|
2 years ago | |
---|---|---|
.. | ||
src | 2 years ago | |
types | 2 years ago | |
CHANGELOG.md | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
package.json | 2 years ago |
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.