@litt1e-p/breadcrumb

0.1.2 • Public • Published

Breadcrumb

breadcrumb directive component for vue 2.x

Installation

npm i @litt1e-p/breadcrumb --save

Usage

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>

Screenshot

License

MIT

/@litt1e-p/breadcrumb/

    Package Sidebar

    Install

    npm i @litt1e-p/breadcrumb

    Weekly Downloads

    12

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    104 kB

    Total Files

    18

    Last publish

    Collaborators

    • litt1e-p