Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kolirt committed Jun 28, 2023
1 parent d69bca2 commit 6c2828b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ app.use(createModal())
app.mount('#app')
```

Add `ModalTarget` to `App.vue`

```vue
<template>
<ModalTarget/>
</template>
```

# Usage

## Basic usage
Expand Down Expand Up @@ -81,14 +89,6 @@ const props = defineProps({
</template>
```

Add `ModalTarget` to `App.vue`

```vue
<template>
<ModalTarget/>
</template>
```

Then you can use your modal.

```vue
Expand Down

0 comments on commit 6c2828b

Please sign in to comment.