naive-ui/packages/common/Layout/index.js

16 lines
497 B
JavaScript
Raw Normal View History

2019-11-18 18:37:20 +08:00
/* istanbul ignore file */
import Layout from './src/Layout.vue'
import LayoutHeader from './src/LayoutHeader.vue'
import LayoutFooter from './src/LayoutFooter.vue'
import LayoutSider from './src/LayoutSider.vue'
Layout.install = function (Vue) {
Vue.component(Layout.name, Layout)
Vue.component('NLayoutContent', Layout)
2019-11-18 18:37:20 +08:00
Vue.component(LayoutHeader.name, LayoutHeader)
Vue.component(LayoutFooter.name, LayoutFooter)
Vue.component(LayoutSider.name, LayoutSider)
}
export default Layout