You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

61 lines
1.1 KiB

<template>
<base-layout>
<template #leftDrawerIcon>
<v-app-bar-nav-icon @click="drawerLeft = !drawerLeft" />
</template>
<template #rightDrawerIcon>
<v-app-bar-nav-icon @click="toggle" />
</template>
<template #leftDrawer>
<v-navigation-drawer
v-model="drawerLeft"
app
clipped
color=""
>
<side-bar-left />
</v-navigation-drawer>
</template>
<!--
<template #rightDrawer>
<v-navigation-drawer
v-model="drawerRight"
app
clipped
right
>
<slot name="sideBarRightContent" />
</v-navigation-drawer>
</template>
-->
<template #content>
<nuxt />
</template>
</base-layout>
</template>
<script>
import { mapMutations } from 'vuex'
import BaseLayout from '~/layouts/BaseLayout'
import SideBarLeft from '~/components/organisms/SideBarLeft'
export default {
components: {
BaseLayout,
SideBarLeft
},
data: () => ({
drawerLeft: false,
drawerRight: false
}),
methods: {
...mapMutations({
toggle: 'sidebar/toggle'
})
}
}
</script>