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
Describe the bug
I am using vue-owl-carousel and vue-scrollto. Both plugins work fine in dev, but break in production. I thought the issue was tree shaking (or something else related to the plugins not being included in the final build), however inspecting the source reveals they are both included.
I tried something else - attaching @click event with window.scrollTo and I got the same effect - works in dev, not in production. I believe the two issues are related and fixing one would fix the other (or at least I hope so). Additional context
Further research - added a window.scrollTo in a mounted hook that works in dev, but not in production. 'Console log' is fine in both dev and production.
Describe the bug
I am using vue-owl-carousel and vue-scrollto. Both plugins work fine in dev, but break in production. I thought the issue was tree shaking (or something else related to the plugins not being included in the final build), however inspecting the source reveals they are both included.
I tried something else - attaching @click event with window.scrollTo and I got the same effect - works in dev, not in production. I believe the two issues are related and fixing one would fix the other (or at least I hope so).
Additional context
main.js
vue.config.js
The text was updated successfully, but these errors were encountered: