-
Notifications
You must be signed in to change notification settings - Fork 22
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
ReferenceError document is not defined with Nuxt 2.5.0 #1
Comments
Hi, thank you for creating the issue. Sorry, but currently this component does not support SSR.
Also you can add support for SSR. PR's are welcome. |
https://nuxtjs.org/api/components-client-only#the-lt-client-only-gt-component I spoke too soon, haha. This doesn't work sadly. |
I'm currently in research of separate build for Nuxt.js. Till for that moment you can import component directly: import LazyYoutubeVideo from 'vue-lazy-youtube-video/src/VueLazyYoutubeVideo.vue'
export default {
// ...
components: {
LazyYoutubeVideo,
},
// ...
} |
@aozora, Can we close the issue? 🤔 |
Thank you, I think we can close it now! |
Hi, I get the following error when using it with Nuxt.js, I also tried by wrapping it within the
<no-ssr>
but I still got the same error:The text was updated successfully, but these errors were encountered: