mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-25 19:23:55 +00:00
1.1 KiB
1.1 KiB
| type | order | title | permalink |
|---|---|---|---|
| docs | 51 | @uppy/dropbox | docs/dropbox/ |
The Dropbox plugin lets users import files their Dropbox account.
An Uppy Server instance is required for the Dropbox plugin to work. Uppy Server handles authentication with Dropbox, downloads the files, and uploads them to the destination. This saves the user bandwidth, especially helpful if they are on a mobile connection.
const Dropbox = require('@uppy/dropbox')
uppy.use(Dropbox, {
// Options
})
Installation
This plugin is published as the @uppy/dropbox package.
npm install @uppy/dropbox
Options
uppy.use(Dropbox, {
target: Dashboard,
serverUrl: 'https://server.uppy.io/',
})
id: 'Dropbox'
A unique identifier for this plugin. Defaults to 'Dropbox'.
target: null
DOM element, CSS selector, or plugin to mount the Dropbox provider into. This should normally be the Dashboard.
serverUrl: null
URL to an Uppy Server instance.
locale: {}
Localize text that is shown to the user.
The default English strings are:
strings: {
// TODO
}