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

[Bug]: SSR still doesn't work in Vue #840

Closed
henribru opened this issue Sep 30, 2021 · 5 comments
Closed

[Bug]: SSR still doesn't work in Vue #840

henribru opened this issue Sep 30, 2021 · 5 comments

Comments

@henribru
Copy link
Contributor

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 because watchEffect will run on the server. To reproduce it just run npm i and then npm run dev in the repository I've linked.

@MrFallen
Copy link

MrFallen commented Oct 3, 2021

I have same error. SSR doesn't works :(

@jankaderabek
Copy link

Is there any update? I have same error.

@dacoto97
Copy link

Is there any update?

KABBOUCHI added a commit to KABBOUCHI/headlessui that referenced this issue Oct 16, 2021
@KABBOUCHI KABBOUCHI mentioned this issue Oct 16, 2021
RobinMalfait pushed a commit that referenced this issue Oct 20, 2021
@RobinMalfait
Copy link
Collaborator

This should be fixed, and will be available in the next release.

You can already try it using:

  • npm install @headlessui/vue@dev or yarn add @headlessui/vue@dev.

@Christopher-Hayes
Copy link

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants