Skip to content

Commit 5e4a49e

Browse files
updated README.md
1 parent 0dd3171 commit 5e4a49e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ https://user-images.githubusercontent.com/150185/213549880-e6b645bd-11f0-461a-b1
66

77
https://user-images.githubusercontent.com/150185/213549905-360698e2-0c6b-4fd1-8023-803e22b68e27.mov
88

9-
Video example code:
9+
Video example code in Vue 3 `<script setup>` style:
1010
```js
1111
import VueDd from 'vue-dd'
1212
import { getCurrentInstance } from 'vue'
13+
14+
// get Vue instance
1315
const instance = getCurrentInstance()
1416
```
1517
```html

vue-dd/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ https://user-images.githubusercontent.com/150185/213549880-e6b645bd-11f0-461a-b1
77
https://user-images.githubusercontent.com/150185/213549905-360698e2-0c6b-4fd1-8023-803e22b68e27.mov
88

99
Video example code:
10+
11+
Video example code in Vue 3 `<script setup>` style:
1012
```js
1113
import VueDd from 'vue-dd'
1214
import { getCurrentInstance } from 'vue'
15+
16+
// get Vue instance
1317
const instance = getCurrentInstance()
1418
```
1519
```html

0 commit comments

Comments
 (0)