<script setup lang="ts"></script>

<template>
  <el-container class="layout-container">
    <el-aside width="200px">
      <global-menu />
    </el-aside>
    <el-container>
      <el-header>
        <global-header />
      </el-header>
      <el-main>
        <router-view></router-view>
      </el-main>
      <el-footer>
        <global-footer />
      </el-footer>
    </el-container>
  </el-container>
</template>

<style scoped>
.layout-container {
  height: 100%;
}
.el-header,
.el-footer {
  padding: 0;
}
</style>
