mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 01:12:30 +09:00
first
This commit is contained in:
62
documentation/breadcrumb/breadcrumb-bullet-documentation.md
Normal file
62
documentation/breadcrumb/breadcrumb-bullet-documentation.md
Normal file
@@ -0,0 +1,62 @@
|
||||
---
|
||||
breadcrumb:
|
||||
- label: Vuero
|
||||
hideLabel: true
|
||||
icon: lucide:home
|
||||
link: https://vuero.cssninja.io/
|
||||
- label: Components
|
||||
icon: lucide:cpu
|
||||
to:
|
||||
name: /components/
|
||||
- label: VBreadcrumb
|
||||
---
|
||||
|
||||
### Bullet Separator
|
||||
|
||||
Breadcrumb items can be separated by alternative separators.
|
||||
To display bullet breadcrumb separators,
|
||||
set the `separator` prop to `bullet`. See markup for more details.
|
||||
|
||||
<!--code-->
|
||||
|
||||
```vue
|
||||
<script setup lang="ts">
|
||||
const breadcrumb = [
|
||||
{
|
||||
icon: 'lucide:home',
|
||||
hideLabel: true,
|
||||
// use external links
|
||||
link: 'https://vuero.cssninja.io/',
|
||||
},
|
||||
{
|
||||
label: 'Components',
|
||||
icon: 'lucide:cpu',
|
||||
// or generate a router link with 'to' props
|
||||
to: '/components/',
|
||||
},
|
||||
{
|
||||
label: 'VBreadcrumb',
|
||||
},
|
||||
]
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VBreadcrumb :items="breadcrumb" separator="bullet" />
|
||||
<VBreadcrumb
|
||||
:items="breadcrumb"
|
||||
separator="bullet"
|
||||
with-icons
|
||||
/>
|
||||
</template>
|
||||
```
|
||||
|
||||
<!--/code-->
|
||||
|
||||
<!--example-->
|
||||
|
||||
<div>
|
||||
<VBreadcrumb :items="frontmatter.breadcrumb" separator="bullet" />
|
||||
<VBreadcrumb :items="frontmatter.breadcrumb" separator="bullet" with-icons />
|
||||
</div>
|
||||
|
||||
<!--/example-->
|
||||
Reference in New Issue
Block a user