一个基于 simple-uploader.js 的 Vue 上传组件
<template>
<custom-uploader> </custom-uploader>
</template>
<script>
import customUploader from '@/components/uploader'
export default {
data(){
return {
}
},
components: {
customUploader
},
mounted(){
},
methods : {
}
}
</script>
# install dependencies
npm install
# serve with hot reload at localhost:3001
npm run serve
# build for production with minification
npm run build