Transition added

This commit is contained in:
Bahadır Sofuoğlu
2022-11-03 01:37:25 +03:00
parent e0fb57a255
commit f76ef79b21
3 changed files with 8 additions and 7 deletions

View File

@@ -16,17 +16,16 @@
</template>
<script setup>
import { computed, watch, ref, onMounted } from 'vue';
import { computed, watch, ref } from 'vue';
import AppTopbar from './AppTopbar.vue';
import AppFooter from './AppFooter.vue';
import AppSidebar from './AppSidebar.vue';
import AppConfig from './AppConfig.vue';
import { useLayoutService } from '@/composables/layoutService';
const { onMenuToggle, layoutConfig, layoutState, isSidebarActive } = useLayoutService();
const { layoutConfig, layoutState, isSidebarActive } = useLayoutService();
const outsideClickListener = ref(null);
const sidebarActive = ref(false);
watch(isSidebarActive, (newVal) => {
if (newVal) {