项目作者: litt1e-p

项目描述 :
breadcrumb directive component for vue
高级语言:
项目地址: git://github.com/litt1e-p/breadcrumb.git
创建时间: 2019-07-30T06:13:52Z
项目社区:https://github.com/litt1e-p/breadcrumb

开源协议:

下载


Breadcrumb

breadcrumb directive component for vue 2.x

Installation

  1. 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
  1. <div v-breadcrumb></div>
  • use with html element attributes
  1. <div v-breadcrumb="{separator: '>', paths: [{name: 'App', to: '/'}, {name: 'Module'}, {name: 'Index'},]}"></div>

Screenshot

License

MIT