mercs600 / vue2-perfect-scrollbar

Vue.js wrapper for perfect scrollbar
https://mercs600.github.io/vue2-perfect-scrollbar/
MIT License
275 stars 43 forks source link

How to integrate into a sidebar nav/menu? #53

Closed rezaffm closed 3 years ago

rezaffm commented 4 years ago

Hello,

I quite seldom ask questions as I, for some reason, enjoy the pain to figure out things myself.

This one tough is not solvable for me, even after wasted hours. I finally use a css solution now but I'd still like to understand where I am heading wrong or what's going on ?

What I tried to achieve:

So I came across this tutorial here (Nr.2):

The guy there mentions he used perfect scrollbar (he used a jquery plugin). So I am more a vue guy and then I found your (great!) package. All good. Easy to install and to integrate.

Then, the strangeness started to begin.

What I tried:

For your convenience, I also setup a repo https://github.com/rezaffm/scrollbar-sidenav It's a laravel project, so you can run it by composer install, npm install, npm run watch (or dev).

I'd highly appreciate to understand or see a solution that would get this plugin integrated with vue for a sidebar navigation (just as the guy has done it with jquery).

I was quite negatively surprised that this would be such a huge issue, should have maybe asked a bit earlier for some help.

rezaffm commented 3 years ago

closed as apparently not relevant.