
Vue Simple Upload
Simple File upload component for Vue.js
2.8K viewsAdded Jan 12, 2019
A simple file upload component for vue.js
Installation
npm install vue-simple-upload
Usage
vue-simple-upload is a UMD module, which can be used as a module in both CommonJS and AMD modular environments. When in non-modular environment, FileUpload will be registered as a global variable.
ES6
import FileUpload from 'vue-simple-upload/dist/FileUpload'
export default {
...
components: {
'fileupload': FileUpload
},
...
}
After that, you can use it in your templates:
<fileupload target="http://localhost:8000/api/upload" action="POST"></fileupload>




