vue上传文件组件
A simple file upload component for Vue.js. Emits events for XHR Upload Progress for nice progress bars.
Vue.js的简单文件上传组件。 发出XHR Upload Progress的事件以获取良好的进度条。
Vue文件上传组件 (vue-file-upload-component)
A simple file upload component for Vue.js. Emits events for XHR Upload Progress for nice progress bars.
Vue.js的简单文件上传组件。 发出XHR Upload Progress的事件以获取良好的进度条。
I came up with the original idea when looking at this repo. I knew I wanted a nice component with upload progress and so I copied some code from that library.
在查看此仓库时,我想到了最初的想法。 我知道我想要一个具有上传进度的出色组件,因此我从该库中复制了一些代码。
Install
安装
Available through npm as vue-file-upload-component. Or include as an inline script, like in example.html.
通过npm作为vue-file-upload-component可用。 或包含为内嵌脚本,例如example.html。
翻译自: https://vuejsexamples.com/a-simple-file-upload-component-for-vue-js/
vue上传文件组件