obytes / react-native-template-obytes

📱 A template for your next React Native project: Expo, PNPM, TypeScript, TailwindCSS, Husky, EAS, GitHub Actions, Env Vars, expo-router, react-query, react-hook-form.
https://starter.obytes.com
MIT License
2.19k stars 321 forks source link

Tailwind/CSS classes are not being applied #331

Open TechNech opened 3 months ago

TechNech commented 3 months ago

Summary:

Whenever I run the project using pnpm ios it doesn't seem to load the css. After I did changes saved and ran the project again later.

Steps to reproduce:

Expected behavior:

Simulator Screenshot - iPhone 15 Pro Max - 2024-06-28 at 08 40 25

Additional notes:

Screenshot 2024-06-30 at 4 02 21 AM
ReedYu commented 3 months ago

I also encountered the same problem. When I modify and reload the file that uses tailwind, Only then can it take effect.

TechNech commented 3 months ago

Yes, that is also a workaround. I am using pnpm ios.

0x1337ak commented 1 month ago

@TechNech you can use pnpm start -c to clear the cache no need to rebuild

BeniSyach commented 1 month ago

I working for use pnpm start -c thank you @TechNech