-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
window is not defined in nuxtjs v3 #291
Comments
+1 |
+1 If a friend has solved the same problem, can you point it out in the comments section? |
@rwaddin did you find a fix for this? |
I used windows to get the hostname, my problem was solved by parsing the query parameters from the front end before server side rendering. or in newer versions you can use useRequestURL()
|
Thanks for your response, did you use this approach with nuxt's api routes or you had a separate backend/api. I'm currently trying to encrypt user password before sending it over to a different server |
maybe you can encrypt the password on the nuxt api server before sending to another server. |
Oh okay, i ended up using the cdn instead and it works fine |
I use Nuxtjs v3 SSR mode
The text was updated successfully, but these errors were encountered: