2021-09-30 06:56:36 +00:00
|
|
|
<template>
|
2021-10-13 13:43:23 +00:00
|
|
|
<a href>{{ title }}</a>
|
|
|
|
<span lay-separator>{{ separator }}</span>
|
2021-09-30 06:56:36 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup name="LayBreadcrumbItem" lang="ts">
|
2021-10-03 14:24:28 +00:00
|
|
|
import { defineProps, inject } from 'vue'
|
2021-09-30 06:56:36 +00:00
|
|
|
|
2021-10-12 03:30:07 +00:00
|
|
|
const props = defineProps<{
|
|
|
|
title: string
|
|
|
|
}>()
|
2021-10-03 14:24:28 +00:00
|
|
|
|
2021-10-12 03:30:07 +00:00
|
|
|
const separator = inject('separator')
|
2021-09-30 06:56:36 +00:00
|
|
|
</script>
|