aaronhipple / vue-file-upload

A drag and drop (with fallback) file uploader component for Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-file-upload

A drag and drop (with fallback) file uploader component for Vue.js

Usage

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 }
}

Available Properties

To come...

Build Setup

# 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.

About

A drag and drop (with fallback) file uploader component for Vue.js

License:MIT License


Languages

Language:JavaScript 72.6%Language:Vue 25.3%Language:HTML 2.1%