-
I'm not sure if what I'm mentioning here is a bug or the way îles is supposed to work, so I'll mention it here, first. Nested SCSS works fine if imported into a site-wide .blueBox {
background: hsl(200, 100%, 95%);
p {
font-size: 85%;
}
} If imported within an SCSS file into I don't see anything in either îles documentation or Vite documentation that would account for this. Actual use example:
Thanks in advance for any related help/info. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @brycewray! The repo you've linked to seems to be private. I don't recall experiencing this issue, as îles is relying on Vue to process styles as usual. Perhaps the rule is being generated, but the Have you tried using That will cause Vue to scope the |
Beta Was this translation helpful? Give feedback.
Hi @brycewray!
The repo you've linked to seems to be private.
I don't recall experiencing this issue, as îles is relying on Vue to process styles as usual.
Perhaps the rule is being generated, but the
p
element is not in the component template, so the rule does not apply (as intended when using scoped styles).Have you tried using
.blueBox :deep(p)
instead?That will cause Vue to scope the
.blueBox
reference, but let thep
referenced unscoped, so anyp
elements rendered inside children components would be styled as well.