<template>
    <div id="app">
        <InspectSidebar></InspectSidebar>
        <ScrollComponent>
            <NuxtPage></NuxtPage>
        </ScrollComponent>
    </div>
</template>

<script setup lang="ts">
import { useNamespaceStore } from '#imports';
import InspectSidebar from '~/components/InspectSidebar.vue';

const namespaceStore = useNamespaceStore();
onMounted(() => {
    namespaceStore.init();
})
</script>

<style scoped>
#app {
    display: grid;
    grid-template-columns: auto 1fr;
    min-height: 100%;
    align-items: flex-start;
}
</style>