A drag and drop (with fallback) file uploader component for Vue.js
npm install vue-file-upload
<template>
<div>
<file-upload
upload-endpoint="https://api.imgur.com/3/image"
file-key="image"></file-upload>
</div>
</template>
import FileUpload from 'vue-file-upload'
export default {
components: { FileUpload }
}
To come...
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For detailed explanation on how things work, checkout the guide and docs for vue-loader.