Skip to content

Commit c6bacc7

Browse files
committed
update docs
1 parent fda6d4a commit c6bacc7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ features:
3939

4040
## Install
4141

42-
### Vue 3.0
42+
**Vue 3.0**
4343

4444
NPM:
4545

@@ -53,7 +53,7 @@ Yarn:
5353
yarn add vue-final-modal@next
5454
```
5555

56-
### Vue 2.x
56+
**Vue 2.x**
5757

5858
NPM:
5959

@@ -69,7 +69,7 @@ yarn add vue-final-modal
6969

7070
## Basic usage
7171

72-
1. Import and register the modal component.
72+
**1. Import and register the modal component.**
7373

7474
```js
7575
import { VueFinalModal } from 'vue-final-modal'
@@ -81,21 +81,21 @@ export default {
8181
}
8282
```
8383

84-
2. Add the modal component to the template.
84+
**2. Add the modal component to the template.**
8585

8686
```html
8787
<vue-final-modal v-model="showModal">
8888
Modal Content Here
8989
</vue-final-modal>
9090
```
9191

92-
3. Create a button to toggle the modal.
92+
**3. Create a button to toggle the modal.**
9393

9494
```html
9595
<button @click="showModal = true">Launch</button>
9696
```
9797

98-
4. All default props
98+
**4. All default props**
9999

100100
```js
101101
const CLASS_TYPES = [String, Object, Array]
@@ -118,7 +118,7 @@ const CLASS_TYPES = [String, Object, Array]
118118
}
119119
```
120120

121-
5. Events.
121+
**5. Events.**
122122

123123
- @before-open: Before open
124124
- @opened: When opened

0 commit comments

Comments
 (0)