You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use NX monorepo with 17.2.2 Angular version.
And latest tailwindcss 3 and postcss 8
This is a monorepo, and an app has a tailwind.config.js and postcss.config.json file in it's project root.
When I include "tailwindcss" in postcss configuration file I get a warning when I serve Angular app (using the recent "application" builder) about "content" property not being found and then it ignores (does not detect) tailwind configuration in the project root. But it works if I put tailwind.config.js in the workspace root.
How can I make tailwindcss plugin work with postcss when tailwind config file is located in the project root (and not in workspace root)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I use NX monorepo with 17.2.2 Angular version.
And latest tailwindcss 3 and postcss 8
This is a monorepo, and an app has a tailwind.config.js and postcss.config.json file in it's project root.
When I include "tailwindcss" in postcss configuration file I get a warning when I serve Angular app (using the recent "application" builder) about "content" property not being found and then it ignores (does not detect) tailwind configuration in the project root. But it works if I put tailwind.config.js in the workspace root.
How can I make tailwindcss plugin work with postcss when tailwind config file is located in the project root (and not in workspace root)?
This is my repo:
https://github.com/tom-vism/angular-monorepo
Beta Was this translation helpful? Give feedback.
All reactions