# Breadcrumb
Indicate the current page's location within a navigational hierarchy that automatically adds separators via CSS.
import {Breadcrumb, BreadcrumbItem} from 'src/components'
Global usage
Vue.component(Breadcrumb.name, Breadcrumb)
Vue.component(BreadcrumbItem.name, BreadcrumbItem)
For local usage
export default {
components: {
Breadcrumb,
BreadcrumbItem
}
}
# Example
Separators are automatically added in CSS through ::before and content .
# Automatic breadcrumb
We also provide a route-bread-crumb
component which automatically generates breadcrumbs based
on routes
declared with Vue Router. The usage is quite simple
<route-bread-crumb/>
# Breadcrumb Slots
Slot | Description |
---|---|
default | Default content for the breadcrumb |
# Breadcrumb item props
# Breadcrumb Item Slots
Slot | Description |
---|---|
default | Default content for the breadcrumb item |