Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recent update broke server-side rendering #28

Open
tennox opened this issue Oct 17, 2022 · 1 comment
Open

recent update broke server-side rendering #28

tennox opened this issue Oct 17, 2022 · 1 comment

Comments

@tennox
Copy link

tennox commented Oct 17, 2022

Describe the bug
Upgrade from 1.0.4 to latest 1.1.1 (can bisect tomorrow) broke SSR:

ReferenceError: document is not defined
     at c (node_modules/vue-lazytube/dist/vue-lazytube.umd.min.js:2:83266)
     at v (node_modules/vue-lazytube/dist/vue-lazytube.umd.min.js:2:84526)
     at u (node_modules/vue-lazytube/dist/vue-lazytube.umd.min.js:2:83190)
     at t.exports (node_modules/vue-lazytube/dist/vue-lazytube.umd.min.js:2:84859)
     at assets/js/vendors~page--src--pages--index-vue.9796b736.js:13768:87012

To Reproduce
Steps to reproduce the behavior:

  1. Use vue-lazytube in nodejs rendering
    (Can provide more details tomorrow)

Expected behavior
Working SSR.
Maybe it is out of scope for you and I have to disable it on server side, but would be great if not :)

@priverop
Copy link

The same happens in Nuxt 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants