[bug?/v4] Cannot use @apply
in css module in Vue SFC
#17583
Unanswered
kakkokari-gtyih
asked this question in
Help
Replies: 1 comment
-
Should I write this as issue as well? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
We can't use
@apply
inside of css module in Vue SFC, even if we put@reference
rule. (Vite Plugin)Minimal Reproduction: https://github.com/kakkokari-gtyih/tailwind-v4-vue-module-repro
Details
Adam pointed out that
@apply
in Vue SFC is possible by using@reference
rule (#16429 (comment)), but it seems not the case in CSS Module in Vue SFC.As mentioned in Adam's reproduction, this works:
However, this is not working:
Beta Was this translation helpful? Give feedback.
All reactions