Agontuk / vue-cropperjs

A Vue wrapper component for cropperjs https://github.com/fengyuanchen/cropperjs
MIT License
932 stars 225 forks source link

Vue-Cropperjs issue with 5.0.0 version #118

Closed manishrws closed 2 years ago

manishrws commented 2 years ago

I am getting error with latest version of vue-cropperjs (5.0.0). The code is working fine with older version 4.2.0.

image

The error is - Error in mounted hook: "Error: The first argument is required and must be an or element."

Can you please help me out for this issue.

aibow commented 2 years ago

5.x.x only use vue3 4.x.x only use vue2

vue3 and vue2 is not compatible

Agontuk commented 2 years ago

As @aibow said, 5.0.0 is only for vue 3.