fix: make search suggestions work as before

This commit is contained in:
rramiachraf 2023-03-12 01:22:36 +01:00
parent ed7be09e54
commit 2fc097b7c7

View file

@ -1,14 +1,13 @@
<template> <template>
<div class="flex flex-col w-full min-h-screen px-1vw py-5 reset" :class="[theme]"> <div class="flex flex-col w-full min-h-screen px-1vw py-5 reset" :class="[theme]">
<NavBar /> <div class="flex-1">
<NavBar />
<main class="flex-1">
<router-view v-slot="{ Component }"> <router-view v-slot="{ Component }">
<keep-alive :max="5"> <keep-alive :max="5">
<component :is="Component" :key="$route.fullPath" /> <component :is="Component" :key="$route.fullPath" />
</keep-alive> </keep-alive>
</router-view> </router-view>
</main> </div>
<FooterComponent /> <FooterComponent />
</div> </div>