Skip to content

Commit

Permalink
chore: remove note about client-only components
Browse files Browse the repository at this point in the history
Seems to no longer be required

Signed-off-by: Pascal Sthamer <[email protected]>
  • Loading branch information
P4sca1 committed Apr 4, 2024
1 parent 8e7a099 commit 8de696c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,6 @@ const selectedPerson = ref(people[0])

If you are using [Tailwind CSS](https://tailwindcss.com/), you can use the [@headlessui/tailwindcss](https://github.com/tailwindlabs/headlessui/tree/main/packages/%40headlessui-tailwindcss) plugin to get modifiers like `ui-open:*` and `ui-active:*`.

## Note about client-only components
Some headless components, such as `Portal`, `Popover`, or `Dialog` are client-only components. They will lead to errors when rendered on the server. You need to wrap them with [ClientOnly](https://nuxt.com/docs/api/components/client-only#clientonly).
See https://github.com/tailwindlabs/headlessui/issues/1496.


## Development

```bash
Expand Down

0 comments on commit 8de696c

Please sign in to comment.