"Object(...) is not a function" when using in Nuxt 2
Closed this issue · 1 comments
adamboother commented
I get the error "Object(...) is not a function" when using this in Nuxt 2, here's how I've implemented it:
<template>
<inner-image-zoom
src="/theimage"
zoomSrc="/theimage"
/>
</template>
<script>
import 'vue-inner-image-zoom/lib/vue-inner-image-zoom.css';
import InnerImageZoom from 'vue-inner-image-zoom';
export default {
components: {
'inner-image-zoom': InnerImageZoom
}
};
</script>
Does this look correct?
adamboother commented
I reverted back to version 1.1.1 which has fixed this issue.