vue-mark
A vue corner mark component
Last updated 9 months ago by xiaoping .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install vue-mark 
SYNC missed versions from official npm registry.

vue-mark

一个vue角标组件,和element-ui的badge一样的功能

安装

npm install vue-mark --save

使用

全局组件

import VueMark from 'vue-pop-colorpicker'
Vue.use(VueMark)

局部组件

import { VueMark } from 'vue-pop-colorpicker'

new Vue({
  components: {
    'vue-mark': VueMark
  },
  data () {
    return {
      number: 12,
    }
  }
})

<vue-mark :value="number">
  <button>评论</button>
</vue-mark>
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 8
Last Day 0
Last Week 1
Last Month 22
Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |