Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions app/pages/docs/[...slug].vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<script setup lang="ts">
import { kebabCase } from 'scule'
import type { ContentNavigationItem } from '@nuxt/content'
import { findPageBreadcrumb, mapContentNavigation } from '#ui-pro/utils'
import { findPageBreadcrumb } from '@nuxt/content/utils'
import { mapContentNavigation } from '#ui-pro/utils'

definePageMeta({
heroBackground: 'opacity-30',
Expand Down Expand Up @@ -59,7 +60,7 @@ watch(page, (page) => {
}, { immediate: true })

const breadcrumb = computed(() => {
const links = mapContentNavigation(findPageBreadcrumb(navigation.value, { path: path.value })).map(link => ({
const links = mapContentNavigation(findPageBreadcrumb(navigation.value, path.value)).map(link => ({
label: link.label,
to: link.to
}))
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@iconify-json/lucide": "^1.2.47",
"@iconify-json/octicon": "^1.2.6",
"@iconify-json/simple-icons": "^1.2.38",
"@nuxt/content": "^3.5.1",
"@nuxt/content": "^3.6.0",
"@nuxt/image": "https://pkg.pr.new/@nuxt/image@1a5786c",
"@nuxt/scripts": "^0.11.8",
"@nuxt/ui-pro": "https://pkg.pr.new/@nuxt/ui-pro@83e1238",
Expand All @@ -29,6 +29,7 @@
"@vueuse/components": "^13.3.0",
"@vueuse/core": "^13.3.0",
"@vueuse/nuxt": "^13.3.0",
"better-sqlite3": "^11.10.0",
"drizzle-orm": "^0.44.2",
"feed": "^5.1.0",
"motion-v": "1.2.1",
Expand Down
Loading
Loading