ant-design-vue/components/layout/index.js

17 lines
461 B
JavaScript
Raw Normal View History

2019-01-12 11:33:27 +08:00
import Layout from './layout';
import Sider from './Sider';
import Base from '../base';
2018-04-20 12:52:31 +08:00
2019-01-12 11:33:27 +08:00
Layout.Sider = Sider;
/* istanbul ignore next */
2019-01-12 11:33:27 +08:00
Layout.install = function(Vue) {
Vue.use(Base);
2019-01-12 11:33:27 +08:00
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;