Reload page causes document is not defined
Hi,
When I reload page in development mode, I get this error. What does really mean?
I think it just works in production, because I deployed my web app and it when I simulated this behaviour, all was good.

same issue here
did any one get a solution ?
No, I haven't gotten a solution yet. @Faiza294
use nuxt.js or vue ssr ?
use nuxt.js or vue ssr ?
Nuxt.js
I think it maybe render in node server, that cause document not defined, i didn't test with nuxt.js
I think it maybe render in node server, that cause
document not defined, i didn't test with nuxt.js
I'll try using <client-only/>
this should solve your problem :
<client-only> <CodeInput /> </client-only>
components: { CodeInput: () => process.client ? import('vue-verification-code-input') : null },
this should solve your problem :
<client-only> <CodeInput /> </client-only>
components: { CodeInput: () => process.client ? import('vue-verification-code-input') : null },
thanks as you said this worked on Nuxt2 but in Nuxt 3 it doesnt work and i tried many ways
no result yet :))