-
Notifications
You must be signed in to change notification settings - Fork 19
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
Nuxt SSR Support #7
Comments
You should wrap you code with nuxt’s client-only component |
It doesn't work because it crashes during import
I followed and official FAQ suggestion:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vue-telegram-login
version: 2.1.0node
version: 12.8.1npm
(oryarn
) version: yarn 1.17.3Relevant code or config
What you did:
I'm using Nuxt 2.0.0 and I tried using this plugin in one of my pages component.
What happened:
window is not defined
Problem description:
Seems like the window issue is caused by the client/server configuration. window is only available on the client side and the error is likely caused by the server rendering (which has no window)
Any idea how to solve this?
The text was updated successfully, but these errors were encountered: