1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| <template>
| <div class="app-content">
| <AppSidebar ref="sideBar" />
| <AppMain />
| </div>
| </template>
|
| <script>
| import AppSidebar from "./components/appsidebar/index.vue"
| import AppMain from "./components/AppMain.vue"
| export default {
| name: "AppContainer",
| components: {
| AppSidebar,
| AppMain
| }
| }
| </script>
|
| <!-- Add "scoped" attribute to limit CSS to this component only -->
| <style lang="scss" scoped>
| .app-content {
| display: flex;
| box-sizing: border-box;
| height: 100%;
| width: 100%;
| background-color: $color-bg;
| overflow: hidden;
| }
| </style>
|
|