Vue-slimscroll is a directive plugin for Vue.js, which can transforms any div into a scrollable area with a nice scrollbar
npm install vue-slimscroll
npm i vue-slimscroll
`
- Import it at vue project.
` js
import Vue rom 'vue'
import VueSlimScroll from 'vue-slimscroll'
...
Vue.use(VueSlimScroll)
`
Usage
Using the v-slimscroll directive
` html
...
`
Using directive with options
` html
...
`
> The options` is same as jQuery version. See their documentation