AsideExpandableMenu

Example

This component allows you to create an aside expandable menu

AsideExpandableMenu

<aside-expandable-menu
  :app-name="appName"
  :menu="menu"
/>

export default {
  name: 'App',
  data() {
    return {
      appName: this.$config.appName,
      menu: [
        'Menu1',
        [
          {
            to: '/submenu1',
            label: 'Submenu1',
            icon: 'icon1',
          }
        ],
        'Menu2',
        [
          {
            to: '/submenu2',
            label: 'Submenu2',
            icon: 'icon2',
          },
          {
            to: '/submenu3',
            label: 'Submenu3',
            icon: 'icon3',
          },
          {
            to: '/submenu4,
            label: 'Submenu4',
            icon: 'icon4',
          },
        ],
        'Menu3',
        [
          {
            to: '/submenu5',
            label: 'Submenu5',
            icon: 'icon5',
          },
        ]
      ]
    }
  }
}

Props

NameDescriptionTypeRequiredDefault
menuIt has this structure: [ 'Cat 1', ['Item 1', 'Item 2', ...], 'Cat 2', [...], ... ].The items of type string conform the categories of the menu.The items of type array conform the elements of the menu.Arrayfalse
appNameThe App nameStringfalse""
isAccordionCollapse items there are not expandedBooleanfalsefalse
isOverlaySame as overlay in BuefyBooleanfalsefalse
isRightSame as right in BuefyBooleanfalsefalse
isFullWidthSame as fullwidth in BuefyBooleanfalsefalse
isFullHeigthSame as fullheigth in BuefyBooleanfalsetrue