@morpheme/rating
v1.0.0
Published
Vue Rating Component
Downloads
212
Maintainers
Readme
Vue Rating Component
Based on vue-star-rating to work with Vite, Vue 3 and Nuxt 3.
Installation
npm i @morpheme/rating
Usage
<script setup lang="ts">
import {ref} from 'vue';
import {Rating} from '@morpheme/rating';
const value = ref(0);
</script>
<template>
<Rating v-model:rating="value" />
<!-- half stars -->
<Rating v-model:rating="value" :increment="0.5" />
</template>
License
MIT