mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
28 lines
695 B
Vue
28 lines
695 B
Vue
<script setup lang="ts">
|
|
import type { NavItem } from '@nuxt/content/dist/runtime/types'
|
|
|
|
const nav = inject<Ref<NavItem[]>>('navigation')
|
|
|
|
const navigation = computed(() => nav.value.filter(item => !item._path.startsWith('/pro')))
|
|
|
|
// const { module, modules } = useModule()
|
|
</script>
|
|
|
|
<template>
|
|
<UMain>
|
|
<UContainer>
|
|
<UPage>
|
|
<template #left>
|
|
<UPageAside>
|
|
<!-- <USelect v-model="module" :items="modules" icon="i-heroicons-cube" class="w-full mb-3 lg:mb-6" /> -->
|
|
|
|
<UContentNavigation :navigation="navigation" highlight />
|
|
</UPageAside>
|
|
</template>
|
|
|
|
<slot />
|
|
</UPage>
|
|
</UContainer>
|
|
</UMain>
|
|
</template>
|