-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.x] Transforms not working (Laravel Mix) #6432
Comments
Just had two seconds to look but it appears this works if you switch to: @tailwind base;
@tailwind components;
@tailwind utilities; ...instead of doing the imports. Not sure why, will get it looked into this week though! |
Confirmed! Thanks a lot! Are the imports not the "go to" for SCSS anymore? Thought for SCSS we have to use the imports instead of the But good to know it is working with the directives. Again: Thanks a lot! 💙 |
Got the same issue. Tried to import tailwind base in every possible way(scss import, @tailwind base, import "tailwind/tailwind.css";). In my case @apply backdrop-blur doesn't work cause --tw-backdrop-filter is not defined. It seems that defaults are not being created. Project configuration is basically default freshly created vite + vue app with create-vue and added postcss |
same question |
in vite + vue + tailwind 3.0 I also see that it doesn't seem to generate the css classes, I can definitely see the classes update on the dom, it just doesn't show any generated css. If I stop vite and restart it, then they get generated. |
Most of these comments are not about the main issue here (which is specific to Sass imports), they are actually this issue: ...which is that you cannot use |
You can either use the @import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities"; This also mirrors our installation instructions on this page. Also note that the |
@thecrypticace Thanks! I would consider adding this to the upgrade guide as I upgraded from 2.x where everything was working fine to 3.x where things broke because of this. |
I use Tailwind and NextUI together, and I don't want to import Tailwind's "base" since it will break NextUI's base styles. Is there any way to do this? |
What version of Tailwind CSS are you using?
v3.0.1
What build tool (or framework if it abstracts the build tool) are you using?
What version of Node.js are you using?
14.17.0
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction URL
https://github.com/marcreichel/tailwind3-transforms-reproduction(Deleted)Screenshot:
Describe your issue
The "base transform" selector is not generated. Therefore any transform utilities do not work.
Basically there should be at least the following css code:
But this is completely missing.
The text was updated successfully, but these errors were encountered: