29 lines
686 B
Vue
29 lines
686 B
Vue
<script setup>
|
|
import { ref } from 'vue';
|
|
import { useState } from 'src/composables/useState';
|
|
import LeftMenu from 'src/components/LeftMenu.vue';
|
|
|
|
const state = useState();
|
|
const miniState = ref(true);
|
|
</script>
|
|
|
|
<template>
|
|
<q-drawer
|
|
v-model="state.drawer.value"
|
|
show-if-above
|
|
:mini="miniState"
|
|
@mouseover="miniState = false"
|
|
@mouseout="miniState = true"
|
|
mini-to-overlay
|
|
:width="256"
|
|
:breakpoint="500"
|
|
>
|
|
<q-scroll-area class="fit text-grey-8">
|
|
<LeftMenu />
|
|
</q-scroll-area>
|
|
</q-drawer>
|
|
<q-page-container>
|
|
<router-view></router-view>
|
|
</q-page-container>
|
|
</template>
|