Extends sass with tailwind v2 utils is not working #3894
Unanswered
celinechamiot
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I just tried to update my new project to TailwindCSS v2
Everything was good until i realize that all my
@extend
aren't working anymore.My project uses
@tailwindcss/postcss7-compat
,rails/webpacker: 5.2.1
and Sass as preprocessors.For example in this case if i do :
I can't see any
.btn
in my compiled code until I remove all my@extend .btn
in@extend .btn-outline
.This problem isn't related to Purge because the same issue appears when I disabled it.
I was working well before with TailwindCSS 1.8.10.
I temporary use mixins instead but is there any way to fix this ?
Thank you in advance for your help !
Beta Was this translation helpful? Give feedback.
All reactions