This commit is contained in:
2022-11-14 11:56:21 +08:00
commit 0a63adba99
337 changed files with 25661 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
import { withInstall, WithInstallType } from "../../utils";
import Component from "./index.vue";
const component: WithInstallType<typeof Component> = withInstall(Component);
export default component;

View File

@@ -0,0 +1,24 @@
<template>
<a href="javascript:void(0);" v-bind="$attrs">
<slot>{{ title }}</slot>
</a>
<span lay-separator>{{ separator }}</span>
</template>
<script lang="ts">
export default {
name: "LayBreadcrumbItem",
};
</script>
<script setup lang="ts">
import { inject } from "vue";
export interface BreadcrumbItemProps {
title?: string;
}
const props = defineProps<BreadcrumbItemProps>();
const separator = inject("separator");
</script>