-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug]: SSR still doesn't work in Vue #840
Comments
I have same error. SSR doesn't works :( |
Is there any update? I have same error. |
Is there any update? |
KABBOUCHI
added a commit
to KABBOUCHI/headlessui
that referenced
this issue
Oct 16, 2021
closes tailwindlabs#840
Merged
This should be fixed, and will be available in the next release. You can already try it using:
|
@dev is working for me, thanks @RobinMalfait! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What package within Headless UI are you using?
@headlessui/vue
What version of that package are you using?
0.0.0-aa1a48c (dev)
What browser are you using?
Firefox
Reproduction repository
https://github.com/henribru/my-vitesse-app
Describe your issue
This is a follow-up to #614 (making a separate issue because I know comments in closed issues have a tendency to get overlooked). The fix described in #614 (comment) didn't work, you still end up with a
window is not defined
error becausewatchEffect
will run on the server. To reproduce it just runnpm i
and thennpm run dev
in the repository I've linked.The text was updated successfully, but these errors were encountered: