breadcrumb directive component for vue 2.x
npm i @litt1e-p/breadcrumb --save
just add a directive v-breadcrumb
in the html element after adding router meta with title
value or router's name by default
Example:
- use with only one vue directive
<div v-breadcrumb></div>
- use with html element attributes
<div v-breadcrumb="{separator: '>', paths: [{name: 'App', to: '/'}, {name: 'Module'}, {name: 'Index'},]}"></div>
MIT