vue3+ts+vue-cropper
时间: 2023-09-02 15:06:03 浏览: 129
vue3+ts的demo
Vue3 TypeScript Vue-Cropper是一个基于Vue3和TypeScript开发的图片裁剪组件,使用了vue-cropper库。它主要依赖于element-plus作为UI组件库。在代码地址https://gitee.com/zhong-wenkai/cropper-image-upload.git中,有三个文件夹:cropper-image-upload2.x、cropper-image-upload3.x和cropper-image-upload3.x ts。cropper-image-upload2.x是基于Vue2.x版本,依赖于element-ui;cropper-image-upload3.x是基于Vue3.x版本,依赖于element-plus;cropper-image-upload3.x ts是基于Vue3.x TypeScript版本,同样也依赖于element-plus。需要注意的是,对于Vue3.x版本的vue-cropper库,必须安装vue-cropper@next版本。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [基于 vue-cropper 库 实现的 图片裁剪组件(含vue2.x/vue3.x/vue3.x+ts 写法)](https://blog.csdn.net/qq_41709082/article/details/123094853)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [vue-cropper 使用demo。 基于 vue3,实现 旋转,缩放,控制裁剪,选择阈值,上传图片等功能。](https://download.csdn.net/download/qq_32067561/84998465)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文