In my nuxt 3 project, I have a simple layout like
<template>
<div >
<navbar />
<div>
<slot />
</div>
<footer />
</div>
</template>
And a page then renders the content with above layout name blog
<script setup lang="ts">
definePageMeta({
layout: "blog",
});
</script>
<template>
<main>
<ContentDoc />
</main>
</template>
My problem is, in the very first load, my navbar and footer showed. After some delay, the content load in the UI. How to stop the delay or show loader in that time?