<template>
  <div class="layout">
    <el-container>
      <el-header>
        <!-- 头部导航 -->
        <NavBar></NavBar>
        <TagsView></TagsView>
      </el-header>
      <el-main>
        <!-- 内容 -->
        <AppMain></AppMain>
      </el-main>
    </el-container>
  </div>
</template>

<script>
import NavBar from './components/NavBar/index.vue'
import AppMain from './components/AppMain/index.vue'
export default {
  name: 'Layout',
  components: {
    AppMain,
    NavBar
  }
}
</script>

<style lang="scss">
@import './index.scss';
</style>
