Skip to content

useCurrentSilo

Get the current silo associated to the current page. The composable returns a computed property.

Requires the middleware option to be enabled.

Usage

vue
<script setup lang="ts">
const silo = await useCurrentSilo()

const siloNavigation = computed(() => {
    silo.value?.properties?.navigation
})
</script>