jarvisniu / vue-zoomer

Zoom the image or other thing with mouse or touch
MIT License
150 stars 37 forks source link

Unknown custom element: <v-zoomer> - did you register the component correctly? #24

Closed yog3sha closed 3 years ago

yog3sha commented 3 years ago

I tried using v-zoomer `<v-zoomer style="width: 100vw; height: 100vh;"

<v-img :src="imagePath" ...in my example code but I couldn't get it working. Are there any non-mentioned steps for installation and use with vue-2? I received warningUnknown custom element: ` in browser's console. A running example might be helpful to understand better.

In the examples given (both of zoomer and gallery) if I zoom in and drag the image and release cursor out of the container of image, the image moves in weird way with the cursor until next click.

yog3sha commented 3 years ago

I guess this package can only handle HTML's img tag and not any other vuetify components like v-img.