Skip to content

Commit def6a0f

Browse files
committed
feat: update README
1 parent ca2abd2 commit def6a0f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.MD

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,25 @@ const close = () => {
5353
}
5454
</script>
5555
```
56+
57+
## Usage in Nuxt 3
58+
59+
For Nuxt 3, just wrap component in `<client-only>`
60+
61+
```vue
62+
<template>
63+
<client-only>
64+
<vue-bottom-sheet ref="myBottomSheet">
65+
<h1>Lorem Ipsum</h1>
66+
<h2>What is Lorem Ipsum?</h2>
67+
<p>
68+
<strong>Lorem Ipsum</strong> is simply dummy text
69+
</p>
70+
</vue-bottom-sheet>
71+
</client-only>
72+
</template>
73+
```
74+
5675
## Props
5776

5877
| Prop | Type | Description | Example | Defaults |

0 commit comments

Comments
 (0)