You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Nuxt, when using the original SmoothScrollbar as a plugin, I could use @nuxtjs/device to detect if the device was a desktop.
On mounted, if true, I would initialize the SmoothScrollbar only for desktops, as in low-end mobile devices it slows down too much.
In Nuxt, when using the original SmoothScrollbar as a plugin, I could use @nuxtjs/device to detect if the device was a desktop.
On mounted, if true, I would initialize the SmoothScrollbar only for desktops, as in low-end mobile devices it slows down too much.
I would use this code:
How can I do the same initialization with smooth-vuebar?
The text was updated successfully, but these errors were encountered: