ant-design-vue/components/card/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

15 lines
294 B
JavaScript

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