Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NativeWind for Tailwind CSS support in React Native 🚀 #17

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

SandraLekve
Copy link
Collaborator

Hva er gjort?
Installert NativeWind, TailwindCSS, react-native-reanimated, og react-native-safe-area-context for å støtte Tailwind-styling i React Native.
Opprettet og konfigurert tailwind.config.js med nativewind/preset.
Oppdatert babel.config.js for å inkludere nativewind/babel.
Konfigurert metro.config.js for å støtte NativeWind og React Native SVG-transformer.
Lagt til en global global.css-fil med Tailwind CSS-importer.
Oppdatert App.js for å importere global.css og teste Tailwind-styling.

Hvorfor?
Dette gjør det enklere å bruke Tailwind CSS i React Native, noe som gir en mer effektiv og lesbar styling-metode sammenlignet med inline-styling eller StyleSheet-objekter.

Copy link

vercel bot commented Jan 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
2025-javazone-no ❌ Failed (Inspect) Feb 11, 2025 6:06pm

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.

None yet

1 participant