vue2-uploader-window
v0.0.9
Published
Vue2UploaderWindow: Vue2 component
Downloads
24
Maintainers
Readme
vue2-uploader-window
Easy File Uploader for your Websites and Projects. Supports direct uploading from Facebook, Dropbox, GDrive, via Link, via Image Search, Mic, Camera, Youtube, etc. You can save files directly to your S3 bucket or your Dropbox spaces account. In built image editor so users can edit, resize, apply filters to images.
Helper package to integrate uploader window into your apps and projects.
Screenshot
Install
npm install vue2-uploader-window --save
Usage
import Uploader from 'vue2-uploader-window';
//https://live.uploader.win/register for api key!
Vue.use(Uploader, {apiKey: 'xxx'});
//use it anywhere in your app
this.$uploader({
sources: [ 'upload', 'paste', 'facebook', 'dropbox' ],
minFiles: '2'
})
.then(function (urls) {
console.log("urls: ", urls);
});
Customization
Please visit https://live.uploader.win/home#/api to get your API key, customize file upload settings, add/remove sources, set upload options, etc.
License
MIT