mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-22 17:58:05 +00:00
8 lines
271 B
JavaScript
8 lines
271 B
JavaScript
const Uppy = require('../src/index.js')
|
|
|
|
const uppy = new Uppy.Core({debug: true})
|
|
.use(Uppy.plugins.Modal, {trigger: '#uppyModalOpener'})
|
|
.use(Uppy.plugins.Dashboard, {target: Uppy.plugins.Modal})
|
|
.use(Uppy.plugins.Dummy, {target: Uppy.plugins.Modal})
|
|
|
|
uppy.run()
|