mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-20 08:15:59 +00:00
fix(nuxt): render style component html (#31337)
This commit is contained in:
parent
c4cdc0537d
commit
2083ab9a30
@ -293,6 +293,7 @@ export const Style = defineComponent({
|
||||
if (import.meta.dev && typeof textContent !== 'string') {
|
||||
console.error('<Style> can only take a string in its default slot.')
|
||||
}
|
||||
input.style![idx] = style
|
||||
style.textContent = textContent
|
||||
}
|
||||
return null
|
||||
|
Loading…
Reference in New Issue
Block a user