github-actions[bot] e47a7e9c21 Release: uppy@4.0.0-beta.8 (#5189) 11 months ago
..
src 0697f75b7c meta: update more dependencies (#5171) 11 months ago
.gitignore a47090c2c6 meta: fix `yarn build:clean` 1 year ago
.npmignore 1f8ecd72cb @uppy/vue: migrate to Composition API with TS & drop Vue 2 support (#5043) 1 year ago
CHANGELOG.md d425517c64 Release: uppy@4.0.0-beta.1 (#5047) 1 year ago
LICENSE b082e54029 Vue integration (#2500) 4 years ago
README.md 7d6937300a meta: enable prettier for markdown (#5133) 11 months ago
package.json e47a7e9c21 Release: uppy@4.0.0-beta.8 (#5189) 11 months ago
tsconfig.build.json 1f8ecd72cb @uppy/vue: migrate to Composition API with TS & drop Vue 2 support (#5043) 1 year ago
tsconfig.json 1f8ecd72cb @uppy/vue: migrate to Composition API with TS & drop Vue 2 support (#5043) 1 year 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.