Skip to content

Vue upload images to qiniu(s3 like) storage and support async upload Vue. 上传图片到七牛,支持服务端 token 策略、自动上传等

License

Notifications You must be signed in to change notification settings

blackstorm/vue-upload-file-to-qiniu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

文章地址 Vue 2 上传图片或文件到七牛

How to use

flask app

提供直传七牛 token 支持。

进入 app 根目录下,执行相关命令。

  1. 安装依赖
pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
  1. 运行
python3 app.py

默认端口 5000

使用 Docker

docker build -t blackstorm/flaskapp .
docker run --name app -it -p 5000:500 blackstorm/flaskapp

vue

这里是我们的前端项目。

  1. 安装依赖运行

如果您使用的是 yarn

yarn install && yarn run dev

或者 npm

npm install && npm run dev

默认端口 8081

About

Vue upload images to qiniu(s3 like) storage and support async upload Vue. 上传图片到七牛,支持服务端 token 策略、自动上传等

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published