JSPM

  • Created
  • Published
  • Downloads 71
  • Score
    100M100P100Q74762F
  • License MIT

Provides a Breadcrumb Vue component to be used within a Druxt (DRUpal nuXT) project.

Package Exports

  • druxt-breadcrumb

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (druxt-breadcrumb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

DruxtJS Breadcrumb

CircleCI Known Vulnerabilities codecov

Provides a Breadcrumb Vue.js component to be used within a Druxt (DRUpal nuXT) project.

Install

$ npm install druxt-breadcrumb

Usage

Add module to nuxt.config.js

module.exports = {
  modules: [
    'druxt-breadcrumb',
  ],

  druxt: {
    baseUrl: 'https://example.com',
    breadcrumb: {
      component: 'b-breadcrumb'
    }
  }
}

Options

Base Druxt options

These options are available to all Druxt modules.

Option Type Required Default Description
axios object No {} Axios instance settings.
baseUrl string Yes null Base URL for the Drupal installation.

Druxt Breadcrumb options

These options are specific to this module.

Option Type Required Default Description
breadcrumb.component string No div The component to use to render the breadcrumb. E.g., b-breadcrumb
breadcrumb.home boolean No true Show optional 'Home' crumb.