refactor: change sidebar nav generation to flat structure

This commit is contained in:
woothu
2019-11-14 13:55:00 +01:00
parent 70058e8c29
commit 760dc7ba79
2 changed files with 236 additions and 438 deletions
+3 -5
View File
@@ -9,11 +9,8 @@
:imgMinimized="{ width: 118, height: 46, alt: 'Logo', src: 'img/brand/coreui-signet-white.svg'}"
:wrappedInLink="{ href: 'https://coreui.io/', target: '_blank'}"
/>
<!-- <CSidebarHeader/> -->
<!-- <CSidebarForm/> -->
<CRenderFunction :contentToRender="nav"/>
<!-- <CSidebarFooter/> -->
<CSidebarMinimizer
<CRenderFunction flat :content-to-render="nav"/>
<CSidebarMinimizer
class="d-md-down-none"
@click.native="minimize = !minimize"
/>
@@ -22,6 +19,7 @@
<script>
import nav from './_nav'
export default {
name: 'TheSidebar',
data () {