I will share how I integrated dropzone.js when I was working on this awesome package. Official dropzone.js is not maintained anymore, according to the issue#2288. So please use this package @deltablot/dropzone. The steps are very sample.
TLDR; (KeyPoint's)
Emit a custom event with payload, that contains full url that is return from the server, to the parent element.
Listen for the event and update computed form src value.
I will share how I integrated dropzone.js when I was working on this awesome package. Official dropzone.js is not maintained anymore, according to the issue#2288. So please use this package @deltablot/dropzone. The steps are very sample.
=================
1. Create a component that use dropzone.js
AppDropzone.vue
2. Next, create a component and include dropzone component. I am not using typescript here.
AppFileUpload.vue
3. Finally, use it in your form component
PostCreate.vue