# nvs-vue-breadcrumbs

> Vue breadcrumbs

Latest version **0.0.2** (published 2020-01-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install nvs-vue-breadcrumbs
pnpm add nvs-vue-breadcrumbs
yarn add nvs-vue-breadcrumbs
bun add nvs-vue-breadcrumbs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2020-01-22 |
| First published | 2020-01-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Berrie Nachtweh |
| Maintainers | ambitiondev |
| Keywords | vue, breadcrumbs |

## Links

- npm: https://www.npmjs.com/package/nvs-vue-breadcrumbs
- Repository: https://git.netvlies.nl/netvlies/frontend/nvs-vue-breadcrumbs
- npm.io page: https://npm.io/package/nvs-vue-breadcrumbs

## Recent versions

- 0.0.2 (latest) — 2020-01-22
- 0.0.1 — 2020-01-21

## README

# Vue Breadcrumbs

Gives you the possibility to add a global breadcrumbs variable, to build breadcrumbs

## Installation

```bash
$ yarn add nvs-vue-breadcrumbs
```

Then include it in your Vue-app:

```js
import NVSVueBreadcrumbs from 'nvs-vue-breadcrumbs'

...
Vue.use(NVSVueBreadcrumbs)
```

## Implementation

You can add a breadcrumb meta property to routes that you would like to include in the breadcrumbs:

Use the `meta.breadcrumb` property of a route or child route, e.g.:

```js
new VueRouter({
    routes: [
        {
            path: '/',
            component: Page,
            meta: {
                breadcrumb: 'Home Page',
            },
            children: [
                {
                    path: '/foo',
                    component: Foo,
                    meta: {
                        breadcrumb: {
                            text: 'Foo Page',
                        },
                    },
                },
                {
                    path: '/bar',
                    component: Bar,
                    meta: {
                        breadcrumb: {
                            text: 'Bar Page',
                        },
                    },
                },
            ],
        },
    ],
})
```

---
_Source: https://npm.io/package/nvs-vue-breadcrumbs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
