Skip to content

Commit ec64d1e

Browse files
committed
docs: update installation section
1 parent 5db027a commit ec64d1e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,21 @@ Vue.use(VueEllipseProgress);
4646
// Vue.use(VueEllipseProgress, "vep"); you can define a name and use the plugin like <vep/>
4747
```
4848

49+
Usage direct as component:
50+
```vue
51+
<template>
52+
<vue-ellipse-progress :progress="50" />
53+
</template>
54+
<script>
55+
import { VueEllipseProgress } from "vue-ellipse-progress";
56+
57+
export default {
58+
name: "MyComponent",
59+
components: { VueEllipseProgress },
60+
};
61+
</script>
62+
```
63+
4964
### CDN
5065
Use this option where you have a global Vue.js instance available. You can customize and get the bundled and minified
5166
component from [JSDelivr](https://www.jsdelivr.com/package/npm/vue-ellipse-progress).

0 commit comments

Comments
 (0)