Vue 3 support now added
With this release, you can use vue-rate with Vue 3 π
Related issue #30
Usage
npm install vue-rate@next
// or
yarn add vue-rate@next
import { createApp } from 'vue'
import rate from 'vue-rate'
import 'vue-rate/dist/vue-rate.css'
createApp(App)
.use(rate)
.mount('#app')
<template>
<rate :length="5" v-model="myRate" />
</template>
<script setup>
import { ref } from 'vue';
const myRate = ref(0);
<script>