Skip to content

Conversation

@abumchi
Copy link

@abumchi abumchi commented Apr 5, 2025

What I Did

  • Added presets: [require("nativewind/preset")] to tailwind.config.js.

Why It Matters

  • NativeWind styles were not being applied in the project initially.
  • The nativewind/preset is required for NativeWind to function properly, especially in React Native (Expo) environments.
  • This fix ensures that Tailwind CSS utilities are correctly processed by NativeWind.

Additional Notes

  • Confirmed the fix works locally after restarting the Expo server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant