Breadcrumb
breadcrumb directive component for vue 2.x
Installation
npm i @litt1e-p/breadcrumb --save
Usage
v-breadcrumb
in the html element after adding router meta with title
value or router's name by default
just add a directive 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>
Screenshot
License
MIT