Agontuk / vue-cropperjs

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

Error in render: "TypeError: (0 , _vue.h) is not a function" #98

Closed im-fahad closed 3 years ago

im-fahad commented 3 years ago

[Vue warn]: Error in render: "TypeError: (0 , _vue.h) is not a function" TypeError: (0 , _vue.h) is not a function [Vue warn]: Error in mounted hook: "Error: The first argument is required and must be an <img> or <canvas> element." Error: The first argument is required and must be an <img> or <canvas> element.

All errors come from the VueCropper.js v5.0.0

Agontuk commented 3 years ago

Are you using vue 2 or vue 3 ? For vue 2, use v4.2.0.

im-fahad commented 3 years ago

I am using vue 2, Thanks.