diff --git a/package.json b/package.json index 44ccbda4..6cfc9abe 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@nolebase/integrations", "type": "module", "version": "2.11.1", - "packageManager": "pnpm@9.14.2", + "packageManager": "pnpm@9.14.4", "description": "A collection of diverse documentation engineering tools.", "author": { "name": "Nólëbase", diff --git a/packages/vitepress-plugin-breadcrumbs/src/client/components/NolebaseBreadcrumbs.vue b/packages/vitepress-plugin-breadcrumbs/src/client/components/NolebaseBreadcrumbs.vue index 9ae1ec25..7f4ef1f1 100644 --- a/packages/vitepress-plugin-breadcrumbs/src/client/components/NolebaseBreadcrumbs.vue +++ b/packages/vitepress-plugin-breadcrumbs/src/client/components/NolebaseBreadcrumbs.vue @@ -2,11 +2,16 @@ import { useData } from 'vitepress' const { frontmatter } = useData() + +const breadcrumbs = (frontmatter.value.breadcrumbs ?? []) as { + title: string + link: string +}[]