1.0.11 • Published 2 years ago

@lucasz/d-sidebar v1.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

DSidebar

Usage

  1. Import the component.

import DSidebar from 'd-sidebar';

  1. Add it to the components object.

components: {DSidebar}

  1. Use it in the template.
<DDropdown
  ...props
>
  <!-- Insert logo or something else to display above the items -->
</DDropdown>

Props

NameTypeRequiredDefaultDescription
items{label: string, routerLink: string}[]✔️-The sidebar items with their labels and router links.

Events

NameDescription