Closed NachoVazquez closed 4 months ago
Hey @NachoVazquez, thanks for raising this. I'll evaluate and come back to it soon
Does anyone have a workaround or a temporary solution while this hasn't been fixed?
Does anyone have a workaround or a temporary solution while this hasn't been fixed?
Hey @samyosm , if you use the const { createGlobPatternsForDependencies } = require('@nx/react/tailwind');
as stated before, everything fine.
The only limitation is that you will not have a tailwind.config
per library, only per application.
Thank you, it is working.
Hi, is there an update to this? Also, what are the exact steps I have to run to apply the workaround mentioned above. I'm pretty new to nx and need some more details please. Thanks!
Update: got the workaround working - had to force install @nx/react - npm install -D @nx/react --force
Current Behavior
After generating a workspace containing an application and a library and configuring Tailwind for both using the qwik-nx generator, we can observe that the tailwind configuration of the library is never applied.
Expected Behavior
I have options:
If the team prefers solution 2, I can create a PR.
GitHub Repo
https://github.com/NachoVazquez/nx-qwik-tailwind-reproduction
Steps to Reproduce
Nx Report
Failure Logs
No response
Additional Information
The nx utility for Tailwind and React works for Qwik.
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind');
But it would be great if a copy of the same would exist under the qwik-nx namespace.