<template>
  <div class="app-layout">
    <app-header />
    <div class="app-layout-bd">
      <app-aside v-bind="$attrs" />
      <app-main />
    </div>
  </div>
</template>

<script>
import AppHeader from './header'
import AppAside from './aside'
import AppMain from './main'
export default {
  components: { AppHeader, AppAside, AppMain }
}
</script>

<style lang="scss">
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.app-layout-bd {
  flex: 1;
  display: flex;

  .app-main {
    flex: 1;
  }
}
</style>
