perf(App.vue): eliminado buscador en la plantilla

parent 611a99c6
Showing with 1 additions and 4 deletions
......@@ -8,14 +8,11 @@ const route = useRoute();
const isAuthView = computed(() => {
return route.path.startsWith('/auth');
});
const showSearch = computed(() => {
return route.path === '/recipes';
});
</script>
<template>
<div class="d-flex flex-column min-vh-100">
<Header v-if="!isAuthView" :show-search="showSearch"></Header>
<Header v-if="!isAuthView"></Header>
<router-view></router-view>
<Footer></Footer>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment