
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@craydel/craydel-breadcrumbs
Advanced tools
Get the latest version by NPM:
$ npm i @craydel/craydel-breadcrumbs
If you use the plugin API, the component will be registered as a global component just like when
including it with the script tag, but you won't need to re-register it through the components property in your own
components.
Create the plugin file e.g craydel-components.js file.
// craydel-components.js
import Vue from 'vue'
import CraydelBreadcrumbs from '@craydel/craydel-breadcrumbs/src/CraydelBreadcrumbs.vue'
const Components = {
CraydelBreadcrumbs,
};
Object.keys(Components).forEach(name => {
Vue.component(name, Components[name]);
});
export default Components;
Next reference the plugin file in your nuxt.config.js
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [
'~/plugins/craydel-components.js'
]
| Name | Type | Default | Description |
|---|---|---|---|
| items | array | [] | An array of objects for each breadcrumb. Will look for a text, disabled and href keys. |
An example showing the breadcrumbs.
<craydel-breadcrumbs
:items="items"
></craydel-breadcrumbs>
data() {
return {
items: [
{
text: 'Home',
disabled: false,
href: '/',
},
{
text: 'About Us',
disabled: false,
href: '/about',
},
{
text: 'Our Team',
disabled: true,
href: '',
}
]
}
}
FAQs
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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.