Open austinm911 opened 3 weeks ago
Describe the bug I'm new to RN and expo. I init a new tabs template and added v4 Nativewind, but can't get text-color to work (see index.ts).
If i replace app with __app in the src folder, it works fine it seems (this is the example from the expo repo).
I'm not sure if there's a bunch of boilerplate code that comes with the tabs template that breaks certain tailwind classes with v4.
Reproduction https://github.com/austinm911/nativewindv4
I did this and it worked:
Install nativewind@canary remove __app folder in src/app/_layout.tsx replace css import, from import "@/global.css" to import '../global.css';
nativewind@canary
src/app/_layout.tsx
import "@/global.css"
import '../global.css';
Describe the bug I'm new to RN and expo. I init a new tabs template and added v4 Nativewind, but can't get text-color to work (see index.ts).
If i replace app with __app in the src folder, it works fine it seems (this is the example from the expo repo).
I'm not sure if there's a bunch of boilerplate code that comes with the tabs template that breaks certain tailwind classes with v4.
Reproduction https://github.com/austinm911/nativewindv4