Open thinkrapido opened 4 years ago
import Dropzone from "dropzone"; this line is missing in your npm published package! oh-buddy
import Dropzone from "dropzone"; this line is missing in your npm published package! oh-buddy
Exactly. Error Dropzone is not defined
After reading dropzone doc, I figured out that we need manually download dropzone.min.js and source it in your index.html. This works, but another warning occurs, from Dropzone itself: Dropzone already attached
.
the callback functions are not called and you use Tag which is wrong.
It should be to correspond with your code