|
@@ -1,5 +1,9 @@
|
|
-import Uppy from 'uppy/core'
|
|
|
|
-import { DragDrop, Progressbar, Tus10 } from 'uppy/plugins'
|
|
|
|
|
|
+// import Uppy from 'uppy/core'
|
|
|
|
+// import { DragDrop, Progressbar, Tus10 } from 'uppy/plugins'
|
|
|
|
+import Uppy from '../../../../src/core/Core.js'
|
|
|
|
+import DragDrop from '../../../../src/plugins/DragDrop.js'
|
|
|
|
+import Progressbar from '../../../../src/plugins/Progressbar.js'
|
|
|
|
+import Tus10 from '../../../../src/plugins/Tus10.js'
|
|
|
|
|
|
const uppyOne = new Uppy({autoProceed: true, debug: true})
|
|
const uppyOne = new Uppy({autoProceed: true, debug: true})
|
|
uppyOne
|
|
uppyOne
|
|
@@ -14,5 +18,3 @@ uppyTwo
|
|
.use(Tus10, {endpoint: 'http://master.tus.io:8080/files/'})
|
|
.use(Tus10, {endpoint: 'http://master.tus.io:8080/files/'})
|
|
.use(Progressbar, {target: '#UppyDragDrop-Two .UppyDragDrop-progress'})
|
|
.use(Progressbar, {target: '#UppyDragDrop-Two .UppyDragDrop-progress'})
|
|
.run()
|
|
.run()
|
|
-
|
|
|
|
-// console.log(`Uppy ${uppyOne.type} loaded`)
|
|
|