https://github.com/vue-multiple/rate
基于 Vue2.x 的星级评分组件。Vue-based rate component
https://github.com/vue-multiple/rate
rate star vue vue-multiple-rate vue-rate vuejs
Last synced: 10 months ago
JSON representation
基于 Vue2.x 的星级评分组件。Vue-based rate component
- Host: GitHub
- URL: https://github.com/vue-multiple/rate
- Owner: vue-multiple
- License: other
- Created: 2017-07-10T01:32:21.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-01T05:24:37.000Z (over 7 years ago)
- Last Synced: 2024-03-23T09:29:29.132Z (about 2 years ago)
- Topics: rate, star, vue, vue-multiple-rate, vue-rate, vuejs
- Language: Vue
- Homepage: https://vue-multiple.github.io/rate/
- Size: 2.55 MB
- Stars: 30
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rate
> [Element](https://github.com/ElemeFE/element) Rate clone, and did just a little change. If you have a better idea of this component improvement, please share it and I will update it immediately.
## Install
```bash
npm install vue-multiple-rate -S
```
## Quick Start
```bash
import Vue from 'vue'
import VmRate from 'vue-multiple-rate'
import 'vue-multiple-rate/lib/rate.css'
Vue.component(VmRate.name, VmRate)
```
For more information, please refer to [Rate](http://vue-multiple.github.io/rate) in our documentation.
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run demo:dev
# build for demo with minification
npm run demo:build
# build for gh-pages with minification
npm run demo:prepublish
# build for production with minification
npm run build
# generate gh-pages
npm run deploy
```
## LICENSE
[MIT](http://opensource.org/licenses/MIT)