ant-design-vue/components/tag/index.js
tangjinzhou a6620cbbe5
feat: add component Vue.use method (#197)
* feat: add Vue.use feat

* feat: Vue.use method

* docs: update docs
2018-09-19 13:21:57 +08:00

14 lines
269 B
JavaScript

import Tag from './Tag'
import CheckableTag from './CheckableTag'
Tag.CheckableTag = CheckableTag
/* istanbul ignore next */
Tag.install = function (Vue) {
Vue.component(Tag.name, Tag)
Vue.component(Tag.CheckableTag.name, Tag.CheckableTag)
}
export default Tag