Closed MicroDreamIT closed 5 years ago
maybe you can use it like this if (typeof window !== 'undefined') { const ProductZoomer = require('vue-product-zoomer').default Vue.use(ProductZoomer) }
@Asyncinfo did not work
I think @akulubala should build a separate another repository for nuxt only for example nuxt-product-zoomer.
@MicroDreamIT as you suggested, I made a demo for nuxt project demo for nuxt. Seems all work fine
@akulubala will try tomorrow. did you check with vue-bootstrap as well?
@MicroDreamIT for bootstrap it works with a small issue.
<div class="container">
<ProductZoomer :base-images="images" :base-zoomer-options="zoomerOptions"></ProductZoomer>
</div>
class .container
need adjust text align attribute.
nuxt.config.js
plugin config in ProductZoomer.js
in product page
Thumblist is not working. If css applied then zoom effect is not working