123456789101112131415161718 |
- 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' })
|