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 the latest tailwindcss 3 and postcss 8
In this monorepo an app has a tailwind.config.js and postcss.config.json file in it's project root.
When I add postcss configuration file I get warnings when I serve Angular app (using the recent "application" builder) about "content" property not being found. For this reason, tailwind styles are not applied at all. However, it works if I put tailwind.config.js in the 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 the latest tailwindcss 3 and postcss 8
In this monorepo an app has a tailwind.config.js and postcss.config.json file in it's project root.
When I add postcss configuration file I get warnings when I serve Angular app (using the recent "application" builder) about "content" property not being found. For this reason, tailwind styles are not applied at all. However, it works if I put tailwind.config.js in the workspace root.
Did I setup tailwind correctly?
Reproduction:
https://github.com/tom-vism/angular-monorepo
Beta Was this translation helpful? Give feedback.
All reactions