Skip to content

Commit

Permalink
feat: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
vaban-ru committed Aug 4, 2023
1 parent ca2abd2 commit def6a0f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,25 @@ const close = () => {
}
</script>
```

## Usage in Nuxt 3

For Nuxt 3, just wrap component in `<client-only>`

```vue
<template>
<client-only>
<vue-bottom-sheet ref="myBottomSheet">
<h1>Lorem Ipsum</h1>
<h2>What is Lorem Ipsum?</h2>
<p>
<strong>Lorem Ipsum</strong> is simply dummy text
</p>
</vue-bottom-sheet>
</client-only>
</template>
```

## Props

| Prop | Type | Description | Example | Defaults |
Expand Down

0 comments on commit def6a0f

Please sign in to comment.