forked from nikita/muzika-gromche
21 lines
533 B
Vue
21 lines
533 B
Vue
<script setup lang="ts">
|
|
import GlobalHeader from '@/global-header/GlobalHeader.vue'
|
|
import { useGlobalHeaderStore } from './global-header/GlobalHeaderStore'
|
|
|
|
const DEFAULT_TITLE = 'MuzikaGromche'
|
|
|
|
const globalHeaderStore = useGlobalHeaderStore()
|
|
globalHeaderStore.defaultTitle = DEFAULT_TITLE
|
|
</script>
|
|
|
|
<template>
|
|
<div class="tw:h-full tw:flex tw:flex-col">
|
|
<GlobalHeader class="tw:flex-none" />
|
|
<main class="tw:flex-auto tw:overflow-hidden">
|
|
<RouterView />
|
|
</main>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped></style>
|