Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 681 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 681 Bytes

vuecropper

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

本实例用到的组件

vue-cropper 官网 https://github.com/xyxiao001/vue-cropper

element https://element-plus.gitee.io/zh-CN/

使用提示:

选择图片确定后,有两种方法,第一种是直接上传到服务器上,需要自己写后端,本实例选上传封面时会运行到,选获取封面则只获取到base64位的图片文件