Skip to content

Version 2 - Star Ratings for Vue 3!

Compare
Choose a tag to compare
@craigh411 craigh411 released this 24 Sep 15:19
· 29 commits to master since this release

vue-star-rating can now be used with Vue 3! This means there are now 2 versions of vue-star-rating

You should continue to use vue-star-rating version 1.6.x if you're using Vue 2, which will remain the default install via npm for the time being.

What's New?

Most changes are internal, but if you want to use vue-star-rating in your Vue 3 app you will need to install using the next tag:

npm install vue-star-rating@next

Vue 3 users now need to pass the rating argument to v-model

<star-rating v-model:rating="rating" />

Custom Event Name Changes

The custom event names emitted by the component have been changed to the following:

  • The rating-selected event has been renamed to update:rating
  • The current-rating event has been renamed to hover:rating

See changelog for details of all internal changes