mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
docs(breadcrumb): update
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
<script setup lang="ts">
|
||||
const items = [{
|
||||
label: 'Home',
|
||||
icon: 'i-heroicons-home'
|
||||
}, {
|
||||
icon: 'i-heroicons-cube-transparent',
|
||||
label: 'Components',
|
||||
to: '/components'
|
||||
}, {
|
||||
icon: 'i-heroicons-link',
|
||||
label: 'Breadcrumb',
|
||||
to: '/components/breadcrumb'
|
||||
}]
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UBreadcrumb :items="items" />
|
||||
</template>
|
||||
@@ -12,5 +12,9 @@ const items = [{
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UBreadcrumb :items="items" separator-icon="i-heroicons-arrow-right-20-solid" />
|
||||
<UBreadcrumb :items="items">
|
||||
<template #separator>
|
||||
<span class="mx-2 text-gray-500 dark:text-gray-400">/</span>
|
||||
</template>
|
||||
</UBreadcrumb>
|
||||
</template>
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<script setup lang="ts">
|
||||
const items = [{
|
||||
label: 'Home',
|
||||
to: '/'
|
||||
}, {
|
||||
label: 'Components',
|
||||
to: '/components'
|
||||
}, {
|
||||
label: 'Breadcrumb',
|
||||
to: '/components/breadcrumb'
|
||||
}]
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UBreadcrumb :items="items">
|
||||
<template #separator>
|
||||
<span class="mx-2 text-gray-500 dark:text-gray-400">/</span>
|
||||
</template>
|
||||
</UBreadcrumb>
|
||||
</template>
|
||||
Reference in New Issue
Block a user