mirror of
https://github.com/ngthanhvu/kr-phim.git
synced 2026-08-10 14:27:47 +00:00
- Added `useCacheBust` composable to manage cache invalidation after movie edits in the admin panel. - Integrated cache busting in movie sync and delete actions to ensure data consistency across pages. - Enhanced UI components in the admin movie management and member management pages for better readability and usability. - Introduced a suggestions tab in the movie detail page to recommend similar movies based on categories. - Updated styles for various elements to improve the overall aesthetic and user experience.
15 lines
365 B
Vue
15 lines
365 B
Vue
<script setup lang="ts">
|
|
const route = useRoute()
|
|
const isAdmin = computed(() => route.path.startsWith('/admin'))
|
|
</script>
|
|
|
|
<template>
|
|
<NuxtRouteAnnouncer />
|
|
<NuxtLoadingIndicator color="#facc15" :height="2" />
|
|
<NuxtLayout>
|
|
<NuxtPage :key="$route.fullPath" />
|
|
</NuxtLayout>
|
|
<AppFooter v-if="!isAdmin" />
|
|
<ScrollToTop v-if="!isAdmin" />
|
|
</template>
|