akulubala / vue-product-zoomer

Zoom Prodct Image, useful for e-shop website
http://www.yoohooworld.com/demo.html
MIT License
293 stars 69 forks source link

CSS is not working on nuxt #70

Open tranduybau opened 3 years ago

tranduybau commented 3 years ago

Capture:

image

Config:

nuxt.config.js

  plugins: [
    { src: '~/plugins/vueZoomer.js', mode: 'client' },
  ],

vueZoomer.js

// eslint-disable-next-line import/no-extraneous-dependencies
import Vue from 'vue';
import ProductZoomer from 'vue-product-zoomer';

Vue.use(ProductZoomer);

product.vue

<client-only>
<ProductZoomer
:base-images="images"
:base-zoomer-options="zoomerOptions"
/>
</client-only>
tranduybau commented 3 years ago

Update: this is when your package got an error: image

spokospace commented 3 years ago

I have the same issue, I had to add css styles with !important to quick fix this.

sejanH commented 3 years ago

I have the same issue, I had to add css styles with !important to quick fix this.

@cnk001 How did you solve this one?

https://user-images.githubusercontent.com/16546092/104408968-72d24800-558f-11eb-90b0-7ee475ccfe30.mp4

spokospace commented 3 years ago

I have the same issue, I had to add css styles with !important to quick fix this.

@CNK001 How did you solve this one?

preview-2021-01-12_13.06.29.mp4

I didn't use this plugin in the end, too much to fixing :P

sejanH commented 3 years ago

I have the same issue, I had to add css styles with !important to quick fix this.

@CNK001 How did you solve this one? preview-2021-01-12_13.06.29.mp4

I didn't use this plugin in the end, too much to fixing :P

then which one did you use? it seems I've also spent more time on this one. but now I think I think look for alternatives also

imsidz commented 3 years ago

i am facing same issue how you fixed it if you didn't which alternative package do u using?

imsidz commented 3 years ago

I have the same issue, I had to add css styles with !important to quick fix this.

can u post your style here sir. thank you

mengdodo commented 3 years ago

I have the same issue, I had to add css styles with !important to quick fix this.

@Cnk001 How did you solve this one? preview-2021-01-12_13.06.29.mp4

I didn't use this plugin in the end, too much to fixing :P

which one did you use 💢 ?

tranduybau commented 3 years ago

https://thegmen.vn/mesh-polo-shirt-blue-gray-nvvt6m

Hi there, I fixed this issue by use this one:

https://www.npmjs.com/package/vue-zoom