uppy/packages/@uppy/vue
2024-05-15 18:54:24 +02:00
..
src meta: update more dependencies (#5171) 2024-05-15 18:54:24 +02:00
.gitignore meta: fix yarn build:clean 2024-01-22 15:55:22 +01:00
.npmignore @uppy/vue: migrate to Composition API with TS & drop Vue 2 support (#5043) 2024-03-28 14:47:06 +01:00
CHANGELOG.md Release: uppy@4.0.0-beta.1 (#5047) 2024-03-28 14:00:30 +00:00
LICENSE Vue integration (#2500) 2020-11-25 22:59:06 +00:00
package.json meta: update more dependencies (#5171) 2024-05-15 18:54:24 +02:00
README.md meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
tsconfig.build.json @uppy/vue: migrate to Composition API with TS & drop Vue 2 support (#5043) 2024-03-28 14:47:06 +01:00
tsconfig.json @uppy/vue: migrate to Composition API with TS & drop Vue 2 support (#5043) 2024-03-28 14:47:06 +01:00

@uppy/vue

Uppy logo: a smiling puppy above a pink upwards arrow

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

Vue component wrappers around Uppys 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 Transloadits 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.