Replies: 1 comment 3 replies
-
Hi @sshmaxime,
Can you elaborate on why this didn't work and what was wrong? I am guessing that something like plugin is your best bet, but I don't use NextJs or SASS, so I can't speak from experience :) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, as the title says, how to re-use piece of CSS like
@mixin
and@include
withPostcss
? I found this plugin:https://github.com/postcss/postcss-mixins
but couldn't make it work with my setup (NextJs).Considering the fact that NextJs comes with
postcss-preset-env
is there anything I could do with that ? Seems like not but I might be missing something.Thank you very much 🙏
Beta Was this translation helpful? Give feedback.
All reactions