nebula/components/layouts/pc/main.vue
2020-06-22 17:13:42 +08:00

35 lines
552 B
Vue

<template>
<el-container>
<el-header>
<header-view/>
</el-header>
<el-main>
<nuxt :nuxt-child-key="$route.name" />
</el-main>
<el-footer>
<footer-view/>
</el-footer>
</el-container>
</template>
<script>
import { mapState } from 'vuex'
import HeaderView from "./header";
import FooterView from "./footer";
export default {
name: "PcMain",
components: {
HeaderView,
FooterView
},
computed: {
...mapState('global', [])
}
}
</script>
<style scoped>
</style>