Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
druxt-breadcrumb
Advanced tools
Decoupled Router based Breadcrumb Druxt component.
$ 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.
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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.