mirror of
https://github.com/koel/koel
synced 2024-12-30 06:23:05 +00:00
26 lines
824 B
Vue
26 lines
824 B
Vue
<template>
|
|
<div id="mainWrapper">
|
|
<Sidebar/>
|
|
<MainContent/>
|
|
<ExtraPanel/>
|
|
<ModalWrapper/>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { defineAsyncComponent } from 'vue'
|
|
|
|
const Sidebar = defineAsyncComponent(() => import('@/components/layout/main-wrapper/sidebar.vue'))
|
|
const MainContent = defineAsyncComponent(() => import('@/components/layout/main-wrapper/main-content.vue'))
|
|
const ExtraPanel = defineAsyncComponent(() => import('@/components/layout/main-wrapper/extra-panel.vue'))
|
|
const ModalWrapper = defineAsyncComponent(() => import('@/components/layout/modal-wrapper.vue'))
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
#mainWrapper {
|
|
display: flex;
|
|
flex: 1;
|
|
height: 0; // fix a flex-box bug https://github.com/philipwalton/flexbugs/issues/197#issuecomment-378908438
|
|
overflow: hidden;
|
|
}
|
|
</style>
|