Skip to content

Commit 42b6391

Browse files
authored
Update README.md
1 parent 9c59934 commit 42b6391

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ npx nuxi@latest module add headlessui
4242

4343
3. Add the following lines to your `app.vue` file inside `<script setup>`:
4444

45+
> [!NOTE]
46+
> This is only needed if you use versions prior to `[email protected]` or `@headlessui/[email protected]`. More recent versions use the native `useId` composable provided by Vue.
47+
4548
```ts
4649
// Use SSR-safe IDs for Headless UI
4750
provideHeadlessUseId(() => useId())

0 commit comments

Comments
 (0)