Vue Files Dropper
Simple input for drop files on vue
Live Demo
Install
npm
npm install vue-files-dropper --save
import "vue-files-dropper";import "vue-files-dropper/dist/vue-files-dropper.css";
Usage
Use it with v-model
:
<vue-files-dropper v-model="file">Drop yor file</vue-files-dropper>
You can use multiple
property:
<vue-files-dropper v-model="files" multiple>Drop yor files</vue-files-dropper>
Customize
You can add class and customize input.
<vue-files-dropper v-model="file" class="aqua">Drop yor file</vue-files-dropper>
.aqua