dropzone-vue3

Vue3 port of vue2-dropzone A wrapper around Dropzone.js for Vue 3
869,964
Install
npm install dropzone-vue3
Latest Version:1.0.2
Vue:3
License:MIT
Last Updated:Mar 6, 2023
Links: npm
Maintainer: sukh.r

vue-dropzone

Drop in replacement of vue2-dropzone that supports vue3

A Vue component for file uploads, powered by Dropzone.js. Check out the demo.


Development

# install your dependencies
npm install

# install vue-dropzone
npm install dropzone-vue3

(or with yarn)

yarn add dropzone-vue3

Usage

<template>
  <vue-dropzone
    ref="myVueDropzone" 
    id="dropzone" 
    :options="dropzoneOptions"
  />
</template>  
<script>
import vueDropzone from 'dropzone-vue3'

export default {
  components: {
    vueDropzone,
  },
  data () {
    return {
      dropzoneOptions: {
        url: 'https://httpbin.org/post',
        thumbnailWidth: 150,
        maxFilesize: 0.5,
        headers: { "My-Awesome-Header": "header value" }
      }
    }
  }
  ...
}

NPM vue3 NPM Downloads

Related Packages

vue3-dropzone

It's inspired by react-dropzone and implemented with vue3.

1,035,497 106
crawlab-vue3-dropzone

It's inspired by react-dropzone and implemented with vue3.

3,060 106
vue3-simple-dropzone

vue3-simple-dropzone is file uploader componet for your Vue-3 project. At this m...

17,434 2
dropzone-nuxt

A Dropzone.js module for Nuxt.js

3,900 6

Version History

Version Released License
1.0.2 MIT
1.0.1 MIT
1.0.0 MIT