2022-10-09 19:19:06 +08:00
|
|
|
<template>
|
2022-10-10 20:01:25 +08:00
|
|
|
<Sidebar></Sidebar>
|
2022-10-09 19:19:06 +08:00
|
|
|
<h1>hello vue-live!</h1>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2022-10-10 20:01:25 +08:00
|
|
|
import Sidebar from './components/sidebar.vue'
|
|
|
|
|
2022-10-09 19:19:06 +08:00
|
|
|
export default {
|
2022-10-10 20:01:25 +08:00
|
|
|
components: { Sidebar },
|
2022-10-09 19:19:06 +08:00
|
|
|
data() {
|
|
|
|
return {}
|
2022-10-10 20:01:25 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
mounted() {
|
|
|
|
console.log(this.$store)
|
2022-10-09 19:19:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
2022-10-10 20:01:25 +08:00
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
html {
|
|
|
|
width: 840px;
|
|
|
|
height: 540px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
font-size: 14px;
|
|
|
|
color: var(--color-dark-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.app {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: #f7f8fb;
|
|
|
|
}
|
|
|
|
.holder {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
</style>
|