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

Improve SSR for Tabs in Vue #2068

Merged
merged 2 commits into from Dec 6, 2022
Merged

Improve SSR for Tabs in Vue #2068

merged 2 commits into from Dec 6, 2022

Conversation

RobinMalfait
Copy link
Collaborator

@RobinMalfait RobinMalfait commented Dec 5, 2022

This PR improves the SSR for Vue so that the first Tab and TabPanel are rendered on the server. If a custom defaultIndex is provided, then that will be used instead.

Fixes: #1479

@vercel
Copy link

vercel bot commented Dec 5, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
headlessui-react ✅ Ready (Inspect) Visit Preview Dec 6, 2022 at 0:57AM (UTC)
headlessui-vue ✅ Ready (Inspect) Visit Preview Dec 6, 2022 at 0:57AM (UTC)

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

Successfully merging this pull request may close these issues.

Tabs content not rendered in SSR context (Vue)
1 participant