mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-19 17:44:30 +00:00
18 lines
365 B
JavaScript
18 lines
365 B
JavaScript
import Uppy from '@uppy/core'
|
|
import Dashboard from '@uppy/dashboard'
|
|
import AwsS3 from '@uppy/aws-s3'
|
|
|
|
import '@uppy/core/dist/style.css'
|
|
import '@uppy/dashboard/dist/style.css'
|
|
|
|
const uppy = new Uppy({
|
|
debug: true,
|
|
})
|
|
|
|
uppy.use(Dashboard, {
|
|
inline: true,
|
|
target: 'body',
|
|
})
|
|
|
|
// No client side changes needed!
|
|
uppy.use(AwsS3, { companionUrl: '/companion' })
|