Skip to content

SSR Support for v4 #6659

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

Closed
1 task done
nhatpdXkalapa opened this issue Jun 15, 2023 · 9 comments · Fixed by #6713
Closed
1 task done

SSR Support for v4 #6659

nhatpdXkalapa opened this issue Jun 15, 2023 · 9 comments · Fixed by #6713
Labels

Comments

@nhatpdXkalapa
Copy link

nhatpdXkalapa commented Jun 15, 2023

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

Many components like tooltip, select was working fine in v3 in Nuxt SSR. But when upgrade to v4 it throws error that document is not defined

What does the proposed API look like?

Support SSR please

@nhatpdXkalapa
Copy link
Author

image

@aibayanyu20
Copy link
Member

try this demo

@nhatpdXkalapa
Copy link
Author

@aibayanyu20 It seems to work but still lacks support for ssr

@nhatpdXkalapa
Copy link
Author

screen-capture.webm

@antlionguard
Copy link

antlionguard commented Jun 16, 2023

You can wrap with <ClientOnly> for workaround.

@BillEliot
Copy link

so how to solve the problem?

@vietanhbui
Copy link

+1

@VasanthThoraliKumaran
Copy link

VasanthThoraliKumaran commented Aug 2, 2023

You can wrap with <ClientOnly> for workaround.

I cannot wrap <ClientOnly> since I'm using Nuxt static site generation. It fails while prerendering.

Copy link

github-actions bot commented Aug 7, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants