Package Exports
- vue-imagen-drag
- vue-imagen-drag/dist/vue-imagen-drag.esm.js
- vue-imagen-drag/dist/vue-imagen-drag.umd.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-imagen-drag) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vue-imagen-drop
JOSE CIENTY DEVELOPER.
A beautiful vue component for upload image with select or drag and drop.
Notice: This component is designed for pc.
Change log
- Compatible vue2
Screenshot

Brower compatibility
IE10+
Install
npm
$ npm i vue-imagen-dragUsage
Props
| Name | Type | Default | Description |
|---|---|---|---|
| id | String | 'image-drag-drop' | Necesary id to component |
| height | String,Number | 'auto' | height size of component |
| value | String | '' | Image route, return base64File |
Examples
<div id="app">
<vue-imagen-drag
height="200px"
v-model="imagen"
/>
</div>
<script>
import Vue from 'vue';
import VueImagenDrag from 'vue-imagen-drag';
new Vue({
el: '#app',
data: {
imagen:''
},
components: {
'vue-imagen-drag': VueImagenDrag
},
});
</script>