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

document is not defined with nuxt #764

Open
fabioebner opened this issue Feb 3, 2021 · 7 comments
Open

document is not defined with nuxt #764

fabioebner opened this issue Feb 3, 2021 · 7 comments

Comments

@fabioebner
Copy link

I follow the instruction in readme and when I try to access my app I got the error:

document is not defined

Screen Shot 2021-02-02 at 21 39 01

@bitpunk
Copy link

bitpunk commented Feb 27, 2021

document ist not available in your SSR Node.js environment (nuxt.js). Wrap your component in <client-only>.
Also rember to load your plugin file in nuxt.config.js in client mode:

plugins: [
  //Vue.js plugin init belongs in here
  { src: '~/plugins/google-maps.js', mode: 'client' }`
]

Long story short: It's not a bug. Ask your question on stackoverflow for further help.

@timon0305
Copy link

Screenshot 2023-01-12 at 19 18 11
Yes, it says there is no issue but I can't run application

@DevAugusto
Copy link

I have the same problem

@timon0305
Copy link

you need to turn off ssl

@DevAugusto
Copy link

i need ssr activated

@timon0305
Copy link

yes, there is no isseu. I already fixed

@J-sabharwal
Copy link

yes, there is no isseu. I already fixed

How did you fix this issue, im having the same problem

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

5 participants