Dropzone mixin allows you attach a file drop listener to any component.
<template>
<div v-dropzone="onDrop"></div>
</template>
<script>
export default {
methods: {
onDrop(fileList) {
// process your files
}
}
}
</script>
Drop file into the textarea
See Dropzone Input for more details and usage example.