docs: rebrand to Nuxt UI

This commit is contained in:
Benjamin Canac
2023-08-11 17:24:18 +02:00
parent 28ebfc2575
commit fa1103b4ec
9 changed files with 27 additions and 31 deletions

View File

@@ -6,9 +6,9 @@ const navigation = inject('navigation')
const { data: files } = await useLazyAsyncData('search', () => queryContent().where({ _type: 'markdown' }).find(), { default: () => [] })
const groups = computed(() => navigation.value.map(item => ({
key: item.to,
key: item._path,
label: item.label,
commands: files.value.filter(file => file._path.startsWith(item.to)).map(file => ({
commands: files.value.filter(file => file._path.startsWith(item._path)).map(file => ({
id: file._id,
icon: 'i-heroicons-document',
title: file.navigation?.title || file.title,