Replies: 2 comments
-
@rlidev Did you come up with a solution yet? I am facing the same thing, and I think the issue is that document is a client variable and not available on the server, so Quill shouldn't be loaded on the server. I haven't figured it out for vue yet, but this explains the issue and the solution on how to do it in react - https://learnjsx.com/category/4/posts/nextjs-document-is-not-defined-react-quill. |
Beta Was this translation helpful? Give feedback.
-
I don't know if it's the best solution but I fixed the problem like this, although the screen flickering is noticeable when loading the text editor asynchronously...
|
Beta Was this translation helpful? Give feedback.
-
I am using Laravel + Vue 3 with Inertia js in SSR mode, when I try to visit the page I get this error.
Starting SSR server on port 13714... Inertia SSR server started. [Vue warn]: Unhandled error during execution of async component loader at <AsyncComponentWrapper> [Vue warn]: Unhandled error during execution of setup function at <AsyncComponentWrapper> ReferenceError: document is not defined
https://i.imgur.com/pAiRs8a.png
Does anyone know how I could fix this? Thank you
Beta Was this translation helpful? Give feedback.
All reactions