how to create a sidebar in vue code example
Example: 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>