Files
crater/resources/scripts/customer/layouts/LayoutBasic.vue
Yash Kanakiya 8a5632c7d6 add dark mode in admin login layout (#1202)
* add dark mode in admin login layout

* Add dark mode in customer dashboard (#1199)

* add dark mode in DashboardStatsItem

* add dark mode in customer side header

* add dark mode in customer view file

* fix placeholder

* fix base select input

---------

Co-authored-by: yogesh-gohil <yogeshgohil1611@gmail.com>

* Dark label (#1203)

* add dark mode for label

* fix dark issue in customer view page

* fix remaining label for dark mode

---------

Co-authored-by: yashkanakiya <yashkanakiya281297@gmail.com>

* add customer dark mode login

* fix dark mode classes

---------

Co-authored-by: yogesh-gohil <yogeshgohil1611@gmail.com>
Co-authored-by: Yogesh Gohil <33858419+yogesh-gohil@users.noreply.github.com>
Co-authored-by: PayalDholakiya <payaldholakiya312@gmail.com>
2023-03-30 17:44:21 +05:30

37 lines
863 B
Vue

<template>
<div v-if="isAppLoaded" class="h-full">
<NotificationRoot />
<SiteHeader />
<!-- <SiteSidebar /> -->
<main class="h-screen min-h-0 pb-16 mt-16 overflow-y-auto">
<router-view />
</main>
</div>
<!-- <BaseGlobalLoader v-else /> -->
</template>
<script setup>
import { ref, onMounted, computed } from 'vue'
import SiteHeader from '@/scripts/customer/layouts/partials/TheSiteHeader.vue'
import NotificationRoot from '@/scripts/components/notifications/NotificationRoot.vue'
import { useGlobalStore } from '@/scripts/customer/stores/global'
import { useRoute } from 'vue-router'
const globalStore = useGlobalStore()
const route = useRoute()
const isAppLoaded = computed(() => {
return globalStore.isAppLoaded
})
loadData()
async function loadData() {
await globalStore.bootstrap(route.params.company)
}
</script>