Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS is not working on nuxt #70

Open
tranduybau opened this issue Nov 21, 2020 · 9 comments
Open

CSS is not working on nuxt #70

tranduybau opened this issue Nov 21, 2020 · 9 comments

Comments

@tranduybau
Copy link

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
Copy link
Author

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

@spokospace
Copy link

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

@sejanH
Copy link

sejanH commented Jan 13, 2021

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

@spokospace
Copy link

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
Copy link

sejanH commented Jan 13, 2021

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
Copy link

imsidz commented Jan 20, 2021

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

@imsidz
Copy link

imsidz commented Jan 20, 2021

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
Copy link

mengdodo commented Sep 2, 2021

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants