Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vue sidebar

<template>  <sidebar-menu :menu="menu" /></template> <script>    export default {        data() {            return {                menu: [                    {                        header: true,                        title: 'Main Navigation',                        hiddenOnCollapse: true                    },                    {                        href: '/',                        title: 'Dashboard',                        icon: 'fa fa-user'                    },                    {                        href: '/charts',                        title: 'Charts',                        icon: 'fa fa-chart-area',                        child: [                            {                                href: '/charts/sublink',                                title: 'Sub Link'                            }                        ]                    }                ]            }        }    }</script> 
 
PREVIOUS NEXT
Tagged: #vue #sidebar
ADD COMMENT
Topic
Name
8+6 =