Replies: 1 comment 1 reply
-
Thank you for your suggestion. I've converted your an issue to an Ideas discussion as that's where we have feature requests 👍 As a workaround, you can try using subpath imports: // package.json
{
…
"imports": {
"#index.css": "./path/to/index.css"
},
…
} @reference "#index.css"; |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Tailwind 4.1.11 Angular 20 + postcss
With Tailwind 4 + PostCSS (angular) we have to use
@reference
using relative path which is very cumbersome because it changes for each component.Many users are reporting this problem [1] [2] [3]
In angular we don't have access to vite configuration.
stylePreprocessorOptions.includePaths
in angular.json doesn't fix the issue.(We could use
@reference tailwindcss
but it won't apply style customization so it's useless).Beta Was this translation helpful? Give feedback.
All reactions