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