@uppy/vue
<img src="https://uppy.io/images/logos/uppy-dog-head-arrow.svg" width="120" alt="Uppy logo: a superman puppy in a pink suit" align="right">
Last updated 23 days ago by arturi .
Original npm · Tarball · package.json
$ cnpm install @uppy/vue 
SYNC missed versions from official npm registry.

@uppy/vue

Uppy logo: a superman puppy in a pink suit

Build Status

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

We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.

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.

Current Tags

  • 0.1.2                                ...           latest (23 days ago)

3 Versions

  • 0.1.2                                ...           23 days ago
  • 0.1.1                                ...           a month ago
  • 0.1.0                                ...           2 months ago
Downloads
Today 0
This Week 4
This Month 21
Last Day 2
Last Week 17
Last Month 64
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |