Skip to content

Commit 0e80ea5

Browse files
committed
Documenmation has been updated
1 parent 8895e9a commit 0e80ea5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export default {
5858
## Usage
5959
* Example 1
6060
```
61+
<script>
6162
import { numberCounter } from "vue3-number-counter";
6263
6364
export default {
@@ -75,7 +76,7 @@ export default {
7576
}
7677
}
7778
}
78-
79+
</script>
7980
8081
<template>
8182
<div v-number-counter="counter">0% completed</div>
@@ -104,6 +105,7 @@ const counter = {
104105
* Example 3
105106

106107
```
108+
<script setup>
107109
const counter = {
108110
countFrom: 0,
109111
countTo: 100,

0 commit comments

Comments
 (0)