I feel like I can't get rid of an unnecessary <div> when adhearing to the eslint rules, which disallow multiple root elements in a <template> tag.
Is there any way to do this correctly so to adhear to the nuxt/eslint module rules?
App.vue
<template>
<NuxtRouteAnnouncer />
<UApp>
<UHeader />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
<UFooter />
</UApp>
</template>
defaul.vue (in layouts folder)
<template>
<UMain>
<slot />
</UMain>
</template>
index.vue --> here lies the problem: I have to wrap everything with a div, which is not needed since the u-containers go into the <main> of default.vue from layouts. I can also not simply move the <UMain> in here instead of the <div>, since then default.vue will complain, since
<slot> cannot be a root element.
<template>
<div>
<UContainer class="max-w-dvw bg-amber-800">
<p>a full width container</p>
</UContainer>
<UContainer>
<p>a regular constrained container</p>
</UContainer>
</div>
</template>