donmbelembe / vue-dragscroll

A vue directive to make a scrollable element scroll by draging to the scroll direction
https://vue-dragscroll.clebinfosys.com/
MIT License
258 stars 32 forks source link

Latest version not working for me (nuxt project) #108

Closed dataexcess closed 1 year ago

dataexcess commented 1 year ago

Hello,

I tried using the vue-dragscroll in a new nuxt project and it didn't work. I went mad because it used to work on an older nuxt project that I did. I tried to reduce my project to the most basic setup but nothing worked. In the end I realised I could just use the same package version as the older project and that did the trick.

So right now I'm pinned to version 2.1.3 which made it work in my new project. Sorry I cannot give more info but I thought I would let you know.

donmbelembe commented 1 year ago

Hello, did you get an error? what version of nuxt did you use ?

dataexcess commented 1 year ago

No errors, it just does not work. nuxt version: 2.15.7

donmbelembe commented 1 year ago

version 4 of this package drop support for Vue 2, you can still install the version 3 on vue-dragscroll to work with vue2

It was stated in the docs

image

dataexcess commented 1 year ago

Ooooooh okok! My bad 🤣 Thank you!