-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Describe the bug
Hey,
Following this issue: nativewind/nativewind#1428
This one is new because I believe it's different as I moved on with pnpm
I am having issues having nativewind styles being applied in a monorepo.
Basically, working on mobile or on next, if I set a color in a packages/app component, it won’t work.
It DOES work if I use this color directly inside of next or native
Tailwind works properly though!
My understanding is that nativewind does not watch properly the directories outside so tailwind can’t extract the required classes
Here is the repro:
You can either pnpm web or pnpm native to see the issue
Reproduction
https://github.com/francois-pasquier/nativewind-monorepo
Expected behavior
Styles should be applied
DoctorDerek, tomKFM, phgn0, EgorPopovPP, albertcito and 1 more
Metadata
Metadata
Assignees
Labels
No labels