![](https://img.shields.io/npm/v/vuetify-upload-component.svg) ![](https://img.shields.io/github/size/avrtau/vuetify_upload_component/src/Vuetify_upload_component.vue.svg) # Vuetify Upload Component This is a simple upload component for [Vuetify](https://vuetifyjs.com/en/). ### Install: ``` npm i vuetify-upload-component -s ``` ### Props: *`accept `:* Limit accepted file-types. [default: "\*"] [More information...](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) *`multiple `:* Set to accept multiple files. [default: "false"] *`label `:* Header text. [default: "Attachments"] ### Usage examples: #### Template: ##### Component with defaults: ```html ``` ##### Allow multiple files: ```html ``` ##### Accept only image files: ```html ``` #### Script: ```javascript ``` ## Useful links: [FileReader API Example](https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications#Handling_the_upload_process_for_a_file)