-
-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
Nuxt v3.16 / unhead v2
Describe the bug
Up to Nuxt 3.15.4, this used to work as expected in the default.vue
layout component:
<template lang="html">
<Head>
<Style children="body { background: red }" />
</Head>
</template>
Nuxt v3.16 breaks this due to unhead v2. Even switching children
to textContent
doesn't fix it, I need to deploy an additional awkward workaround for it to work again, using <component :is="'style'">
:
<template lang="html">
<Head>
<component :is="'Style'" textContent="body { background: red }" />
</Head>
</template>
dakzilla
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working