Skip to content

Commit b60a35c

Browse files
authored
docs: fix slots usage example
1 parent 53b721c commit b60a35c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,12 @@ After you have initialized the component, you are ready to create your circles:
9898
reverse
9999
font-size="5rem">
100100

101-
<span slot="legend">/200</span>
102-
<p slot="legend-caption">GOOD JOB</p>
101+
<template #legend>
102+
<span>/200</span>
103+
</template>
104+
<template #legend-caption>
105+
<p>TASKS DONE</p>
106+
</template>
103107

104108
</ve-progress>
105109
```

0 commit comments

Comments
 (0)