Closed wilco-superbalist closed 4 years ago
@wilco-superbalist - I just pushed a small update that will only install the plugin if the global window object exists. I don't have a SSR setup to test unfortunately, so try updating to the version 0.1.15, and let me know if it fixes your issue. Thanks!
closing due to inactivity
I'm getting a slightly different one in a Nuxt project
window is not defined
It may be too late to write, but the problem is with the intersectionObserver. Nuxt.js for vue2 allows installing the plugin with mode: 'client'. This eliminates the error, as far as I understand and tried.
Thanks for the clarification @captain-zsa - glad you were able to integrate it into Nuxt for vue2.
Using SSR I get an error
window of undefined
, is there a way around this?