[Question] Theme function for @media inside Vue style scoped #17617
christhofer
started this conversation in
General
Replies: 1 comment 4 replies
-
You probably need to use the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to upgrade guide, this is how you reference breakpoint size for
@media
This is working fine in playground, and inside .css file.
But this doesn't work with vite + vue
<style scoped>
, I got errorI can only make it work inside
<style scoped>
with the old dot notationIs this intentional? I can't find it documented anywhere. My concern is the dot notation will be deprecated and removed in the future.
NB: I can't provide a repro in stackblitz because it doesn't support tailwindcss/vite
Beta Was this translation helpful? Give feedback.
All reactions