nuxt / nuxt

The Intuitive Vue Framework.
https://nuxt.com
MIT License
54.51k stars 4.99k forks source link

Component placed in nuxt component cannot inject inline styles #25991

Closed Nisekoi5 closed 1 month ago

Nisekoi5 commented 7 months ago

Environment

Reproduction

https://stackblitz.com/edit/github-11vucf-dwcpwg?file=app.vue

Describe the bug

Happens in production build , The text does not turn red image If the component is removed from pages/index.vue and placed outside the NuxtLayout component in app.vue and rebuilt, the inline style can be injected normally. text turns red image

Additional context

No styles are injected in the development environment (is this planned?)

Logs

No response

stackblitz[bot] commented 7 months ago

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

danielroe commented 1 month ago

this is no longer reproducible