Hello all,
For my nuxt pages I am using a layout with the following pattern
<template>
<div>
<NavBar />
<NuxtPage />
<Footer />
</div>
</template>
<script setup>
import NavBar from '~/components/NavigationBar.vue'
import Footer from '~/components/Footer.vue'
</script>
I would like to achieve a situation where the height of all <NuxtPage/> components will by default take up the remaining vertical height of the viewport (minus the navbar/footer) height. Is there a best practice on how to setup page components to do that or some other pattern?