Usage with vue3 + composition API
dcp-dev opened this issue · 2 comments
dcp-dev commented
I'm trying to use your component on my Vue3 app with composition API and I'm not able to make it work even with the minimal setup.
I've got this very simple component and stuck with the following error Uncaught (in promise) TypeError: t3.component is not a function
<script setup>
import VueEllipseProgress from 'vue-ellipse-progress'
</script>
<template>
<VueEllipseProgress :progress="90"/>
</template>
What am I doing wrong ?
setaman commented
@dcp-dev Helllo,
please make sure to refer to the documentation for Vue 3 compatible version
// install
npm i vue-ellipse-progress@next
// import
import { VeProgress } from "vue-ellipse-progress";
// use
<ve-progress :progress="50"/>
dcp-dev commented
Excellent,
Thanks by a lot for the quick feedback