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 60f9270 commit d69bca2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ app.mount('#app')

## Basic usage

First, you need to create modal. Instead of SimpleModal, you can implement your own wrapper with your own styles.
First, you need to create modal. Instead of `SimpleModal`, you can implement your own wrapper with your own styles.

```vue
<script setup lang="ts">
Expand All @@ -81,6 +81,14 @@ 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 d69bca2

Please sign in to comment.