build: { transpile: ["unenv/runtime/mock/proxy-cjs/"], },
<LaitBreadcrumb v-if="breadcrumbs" :breadcrumb-items="breadcrumbs"> <template v-for="(slot, index) in breadcrumbs" #[`item-${index}`] :key="index"> <div> <NuxtLink v-if="slot" :to="slot.to">{{ slot.text }}</NuxtLink> </div> </template> </LaitBreadcrumb>
export interface IBreadcrumbLink { text: string; disabled: boolean; to: string;}
import { LaitBreadcrumb } from "@lait/lait-frontend-library/components/LaitBreadcrumb";