Hello,
I'm using the Swiper Web Components through your nuxt-swiper plugin.
As per your docs, to get around annoying Nuxt hydration bs errors, the web componets have to be wrapped in a ClientOnly block. Unfortunately, this breaks the mousewheel option of your plugin which does not seem to have any effect if the slider is in a ClientOnly block.
However, it works if I do not wrap the swiper element in a ClientOnly block but then I will get an annyoing Nuxt hydration bs error.
I tried to inject the settings via props on the component as well as through the swiper instance in TS code. mousewheel doesn't work either way.
What am I doing wrong?
Hello,
I'm using the Swiper Web Components through your
nuxt-swiperplugin.As per your docs, to get around annoying Nuxt hydration bs errors, the web componets have to be wrapped in a
ClientOnlyblock. Unfortunately, this breaks themousewheeloption of your plugin which does not seem to have any effect if the slider is in aClientOnlyblock.However, it works if I do not wrap the swiper element in a
ClientOnlyblock but then I will get an annyoing Nuxt hydration bs error.I tried to inject the settings via props on the component as well as through the swiper instance in TS code.
mousewheeldoesn't work either way.What am I doing wrong?