mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-19 16:01:24 +00:00
fix(nuxt): render style component html (#31337)
This commit is contained in:
parent
bd12b3ae68
commit
5d5071579b
@ -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