Uncaught TypeError: Cannot read properties of undefined (reading 'createElementVNode')
at vue-image-zoomer.umd.js:1:6287
at vue-image-zoomer.umd.js:1:214
at vue-image-zoomer.umd.js:1:250
Please tell me what I am doing wrong? How I can successfully use vue-image-zoomer without a build step?
First of all, thank you so much @samjonesigd for creating and maintaining this. :heart:
I don't use a build step in our web app. So I am trying to use the UMD version.
I have the following in my HTML's head:
Then, in a script before
</body>
, I have:In my Vue's
createApp
I have put the below:I am using it as below in my HTML:
It's showing an error on the developer console:
Please tell me what I am doing wrong? How I can successfully use vue-image-zoomer without a build step?
Thanks @samjonesigd!