@thunderbite/vue-vapor-upload-component
Vue upload component for use with Laravel Vapor
Last updated a year ago by markvdputten .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @thunderbite/vue-vapor-upload-component 
SYNC missed versions from official npm registry.

vue-vapor-upload-component

Installation

npm install vue-vapor-upload-component

import VueVaporUploadComponent from 'vue-vapor-upload-component'

Usage

<vue-vapor-upload-component
    accept=".csv"
    endpoint="/backstage/players"
    name="players-input"
    :reload-after-upload="true"
></vue-vapor-upload-component>

Options

Property Description Type Default Required
accept List of accepted file types string empty no
endpoint URL where Vapor response will be posted to string empty yes
name Unique name for file input string empty yes
reload-after-upload Reload page after processing string empty yes
upload-success-message Message which will be sent with page reload string The upload was succcessful no

Current Tags

  • 1.0.0                                ...           latest (a year ago)

1 Versions

  • 1.0.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |