create-react-app-webpack-5-module-federation-tailwind-typeScript icon indicating copy to clipboard operation
create-react-app-webpack-5-module-federation-tailwind-typeScript copied to clipboard

Tailwind classes doesn't work

Open codestitch opened this issue 3 years ago • 0 comments

After installing app1 and app2. Running them both.

I noticed that not all tailwind classes in the button component(which is from app2) reflect in tailwind classes in the host app (app1).

And the only way to fix this is by importing the tailwind unto button component.

Is there way that tailwind configured globally (in host app) reads tailwind classes in remote app?

codestitch avatar Aug 19 '22 00:08 codestitch