Advanced Angular Micro Frontends with Dynamic Module Federation with Tailwind 4x is not working, needed help #18100
Unanswered
Sravana-Synthesis
asked this question in
Help
Replies: 1 comment
-
Looks Tailwind 4 support is not yet provided by Nx |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using below commands to create Nx MFE project:
To create Nx project:
npx create-nx-workspace@latest ng-mf --preset=apps
cd ng-mf
npx nx add @nx/angular
nx g @nx/angular:host apps/dashboard --prefix=ng-mf
To add Tailwind:
npm install tailwindcss @tailwindcss/postcss postcss --force
updating '.postcssrc.json'
{ "plugins": { "@tailwindcss/postcss": {} } }
updating 'styles.css'
@import "tailwindcss";
in app.component.html:
Hello world!
This is how project is getting created, but i'm not able to css reflecting the tailwind changes.Help would be appreciate.
Beta Was this translation helpful? Give feedback.
All reactions