Skip to content

Render a breadcrumb trail in Nuxt from the Drupal decoupled router, with the DruxtBreadcrumb component and its theming options.

DruxtBreadcrumbMixin

View source on GitHub

DruxtBreadcrumbMixin

Provides Vue.js properties to render Drupal Breadcrumb component.

Kind: global mixin
Example

<script>
import { DruxtBreadcrumbMixin } from 'druxt-breadcrumb'

export default {
  mixins: [DruxtBreadcrumbMixin],
}
</script>

.props

Vue.js Properties.

Kind: static property of DruxtBreadcrumbMixin


.crumbs : Array.<object>

The Breadcrumbs; an array of objects with text and optional to properties.

Kind: static property of props


.langcode : string

The JSON:API resource language code.

Kind: static property of props