Uppy

Uppy is a sleek and modular file uploader. It fetches files from local disk, Google Drive, Instagram, remote urls, cameras etc, and then uploads them to the final destination. It’s fast, has a comprehensible API and lets you worry about more important problems than building a file uploader. For more details

HTML Code
<Dashboard id="drag-drop-area" :uppy="uppy" :open="open" :props="{ onRequestCloseModal: handleClose }" />
             
Script

import Uppy from '@uppy/core'
import { Dashboard } from '@uppy/vue'
import '@uppy/core/dist/style.css'
import '@uppy/dashboard/dist/style.css'
export default {
  name: 'uppy',
  components: {
    Dashboard
  },
  props: {
    id: { type: String, default: '' },
    tag: { type: String, default: '' }
  },
  computed: {
    uppy: () => new Uppy()
  },
  data () {
    return {
      open: false,
      Dashboard: {}
    }
  },
  methods: {
    handleClose () { this.open = false }
  }
}