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.
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.