abiodunolunu / vue3-star-ratings

A simple, customization star rating component for your vue3 projects
https://npmjs.com/package/vue3-star-ratings
MIT License
30 stars 6 forks source link

Not updating with ref() #4

Open lateboom opened 1 year ago

lateboom commented 1 year ago

Used as a component in Nuxt 3. Use as is like this: import vue3StarRating from 'vue3-star-ratings' const stars = ref(0) <vue3StarRating v-model="stars" /> Obviously once the component shows the initial value of star, it's not going to reflect the changes afterwards.

abiodunolunu commented 1 year ago

It does. I just tried it again, view it here. Or maybe I'm not understanding the issue. @lateboom