Antoine du Hamel 34c78e9093 meta: run Prettier on existing files (#4713) 1 year ago
..
src 5e38c83564 @uppy/vue: enforce use of file extension within the import path (#3560) 3 years ago
types 34c78e9093 meta: run Prettier on existing files (#4713) 1 year ago
.gitignore b082e54029 Vue integration (#2500) 4 years ago
.npmignore e65f2b0397 add `.npmignore` files to ignore .gitignore when packing (#3380) 3 years ago
CHANGELOG.md 03bfd418c8 Release: uppy@3.1.0 (#4121) 2 years ago
LICENSE b082e54029 Vue integration (#2500) 4 years ago
README.md 7adacb74a7 meta: Fix logos in all the readmes (#4407) 2 years ago
package.json 57a71e175c Release: uppy@3.8.0 (#4418) 2 years ago

README.md

@uppy/vue

npm version CI status for Uppy tests CI status for Companion tests CI status for browser tests

Vue component wrappers around Uppy’s officially maintained UI plugins.

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

<template>
  <dashboard-modal 
  :uppy="uppy" 
  :open="open" 
  :props="{
    onRequestCloseModal: handleClose
  }"/>
</template>

<script>
import Uppy from '@uppy/core'
import { DashboardModal } from '@uppy/vue'

export default {
  components: {
    DashboardModal
  },
  computed: {
    uppy: () => new Uppy()
  },
  data () {
    return {
      open: false
    }
  },
  methods: {
    handleClose() { this.open = false }
  }
}
</script>

Installation

$ npm install @uppy/vue

Alternatively, you can also use this plugin in a pre-built bundle from Transloadit’s CDN: Edgly. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.

Documentation

Documentation for this plugin can be found on the Uppy website.

License

The MIT License.