Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
druxt-breadcrumb
Advanced tools
Provides a Breadcrumb Vue component to be used within a Druxt (DRUpal nuXT) project.
Provides a Breadcrumb Vue.js component to be used within a Druxt (DRUpal nuXT) project.
$ npm install druxt-breadcrumb
Add module to nuxt.config.js
module.exports = {
modules: [
'druxt-breadcrumb',
],
druxt: {
baseUrl: 'https://demo-api.druxtjs.org',
}
}
The DruxtBreadcrumb component uses the Vue Router and DruxtRouter to build a list of crumbs.
<DruxtBreadcrumb />
The crumbs can be themed by providing a default scoped slot:
<DruxtBreadcrumb>
<template #default="{ crumbs }">
{{ crumbs }}
</template>
</DruxtBreadcrumb>
The DruxtBreadcrumb also provide a DruxtWrapper component for theming:
<!-- DruxtBreadcrumbDefault.vue -->
<template>
<div>
<slot />
<div>
</template>
See the DruxtBreadcrumb API documentation for more information.
These options are available to all Druxt modules, in the nuxt.config.js
file.
Option | Type | Required | Default | Description |
---|---|---|---|---|
druxt.axios | object | No | {} | Axios instance settings. |
druxt.baseUrl | string | Yes | null | Base URL for the Drupal installation. |
FAQs
Decoupled Router based Breadcrumb Druxt component.
The npm package druxt-breadcrumb receives a total of 23 weekly downloads. As such, druxt-breadcrumb popularity was classified as not popular.
We found that druxt-breadcrumb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.