bingxl-vue-component
v1.0.0
Published
my vue-component
Downloads
4
Readme
vue-component
my vue-component
已有组件
star 星级评价组件
传入参数:
- star=0, 显示亮几颗星
- count=5, 总的星星数
- writable=false, 是否可点击
- once=false, 可点击状态下是否智能点击一次 发射事件:
- star-click(num), num是用户点击了第几个星星
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.