parent
a8ceef5c7d
commit
a25e76a314
@ -1 +1 @@
|
||||
Subproject commit 20a93889a18d1c061e56e715094234fa0c1bdd21
|
||||
Subproject commit 7e7899bc49e5e5ebe4716a5ba12215ecfe0d3d22
|
@ -1,16 +1,14 @@
|
||||
import Layout from './layout';
|
||||
import Sider from './Sider';
|
||||
import Base from '../base';
|
||||
|
||||
Layout.Sider = Sider;
|
||||
|
||||
/* istanbul ignore next */
|
||||
Layout.install = function(Vue) {
|
||||
Vue.use(Base);
|
||||
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);
|
||||
Layout.install = function(app) {
|
||||
app.component(Layout.name, Layout);
|
||||
app.component(Layout.Header.name, Layout.Header);
|
||||
app.component(Layout.Footer.name, Layout.Footer);
|
||||
app.component(Layout.Sider.name, Layout.Sider);
|
||||
app.component(Layout.Content.name, Layout.Content);
|
||||
};
|
||||
export default Layout;
|
||||
|
Loading…
Reference in new issue