1.2.1 • Published 5 years ago

uppload-vue v1.2.1

Weekly downloads
63
License
MIT
Repository
github
Last release
5 years ago

Uppload Vue

Uppload Vue is the official Vue.js component for Uppload, the open-source file uploading widget.

Installation

yarn add uppload-vue

Usage

<template>
    <uppload @uploaded="onUpload">
        <button>Upload</button>
    </uppload>
</template>

<script>
    import UpploadVue from "uppload-vue";
    export default {
        methods: {
            onUpload(fileUrl) {
                console.log("File uploaded!", fileUrl);
            }
        },
        components: {
            "uppload": UpploadVue
        }
    }
</script>

In this example, the onUpload function would get the URL of the uploaded file as a parameter. It can then be used as a v-model, Vuex state, and so on.

A complete working demo is available in the example folder.

1.2.1

5 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

0.9.0

5 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago