A Vue.js Sidebar Menu Component

vue-sidebar-menu

A Vue.js Sidebar Menu Component.

Installation

npm i vue-sidebar-menu --save

Usage

import Vue from 'vue'
import VueSidebarMenu from 'vue-sidebar-menu'

Vue.use(VueSidebarMenu)
<template>
  <sidebar-menu :menu="menu" />
</template>

<script>
    export default {
        data() {
            menu: [
                {
                    href: '/',
                    title: 'Dashboard',
                    icon: 'fa fa-user'
                },
                {
                    href: '#',
                    title: 'Charts',
                    icon: 'fa fa-chart-area'
                },
            ]
        }
    }
</script>

Development

npm install
npm run dev

GitHub