mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-03 04:27:41 +08:00
a6620cbbe5
* feat: add Vue.use feat * feat: Vue.use method * docs: update docs
15 lines
407 B
JavaScript
15 lines
407 B
JavaScript
import Layout from './layout'
|
|
import Sider from './Sider'
|
|
|
|
Layout.Sider = Sider
|
|
|
|
/* istanbul ignore next */
|
|
Layout.install = function (Vue) {
|
|
Vue.component(Layout.name, Layout)
|
|
Vue.component(Layout.Header.name, Layout.Header)
|
|
Vue.component(Layout.Footer.name, Layout.Footer)
|
|
Vue.component(Layout.Sider.name, Layout.Sider)
|
|
Vue.component(Layout.Content.name, Layout.Content)
|
|
}
|
|
export default Layout
|