evseevdev / vue-uploadcare

Vue component for the Uploadcare widget.
MIT License
6 stars 2 forks source link
uploadcare vue vuejs vuejs2

Vue-uploadcare

Vue component for the Uploadcare widget.

Requirements

Installation

npm

$ npm install vue-uploadcare

Usage


<template>
  <div>
    <VueUploadcare :url.sync="photoUrl"></VueUploadcare>
  </div>
</template>

<script>
  import VueUploadcare from 'vue-uploadcare';

  export default {
    data() {
      return {
        photoUrl: ''
      }
    },
    components: { VueUploadcare }
  }
</script>