- 此项目使用 vue-file-upload 上传文件到七牛,基于表单上传方式(vue-file-upload 官方地址:https://github.com/marchFantasy/vue-file-upload)
- 七牛表单上传介绍:https://developer.qiniu.com/kodo/manual/1272/form-upload
- 七牛其它上传方式(饿了么组件el-upload,官方js-sdk,原生formdata表单),参看:https://github.com/cag2050/qiniu_demo
A Vue.js project
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For detailed explanation on how things work, checkout the guide and docs for vue-loader.