Layer-based imports break plugins while single import causes visual bugs #19199
Unanswered
ApexResells
asked this question in
Help
Replies: 1 comment 4 replies
-
|
What type of plugins are you talking about? It seems like if you want scenario 1 to work, you may need to The main differences I see are:
|
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



Uh oh!
There was an error while loading. Please reload this page.
-
Problem Description
I'm experiencing a critical CSS import configuration issue with Tailwind CSS v4.1.12 in a Nuxt 4 project. I need to find a way to make Scenario 1 work, because Scenario 2 (current) feels like a hacky way to do it.
Scenario 1: Using
@import "tailwindcss";Scenario 2: Using layer-based imports
Environment Details
@tailwindcss/vitev4.1.12Current Configuration
nuxt.config.ts:
main.css (current working but broken plugins):
Beta Was this translation helpful? Give feedback.
All reactions