just a question, if i make more screens under tab route of auth do i need to import global.css into those file too or only importing in _layout.tsx will work for all of other screens
@@AnuragKumar-ov3hb You have to import the global.css file only once in the app/_layout.tsx file. You don't need to import it in the other layout files.
@@johnbenedictsantos9786 The installation process is same like expo framework. Here is the link of Nativewind docs which have the steps to download Nativewind in react native Cli. www.nativewind.dev/getting-started/react-native
unfortunately I couldn't make it work :( I followed the documentation step-by-step, including adding custom metro.config.js with global css. But it does not work at all :(( any ideas?
@@DungLe-rc7ex maybe you miss something. This is the GitHub link of the Expo project with Tailwind CSS github.com/ZAWADBINSHARIF/Expo-v52-Nativewind-v4-tailwindCSS-v3.4.15-with-typescript Download it and run it. Match this GitHub project to your project step by step. Also, match all the package versions in the package.json file.
@@zawadbinsharif it's extremely strange that I've cloned your repo and compared every file (configs, package.json). I even tried replacing your files with mine, and everything worked perfectly on your repo, lol. But it didn't on my project, haha. I gave up for now and backed to nativewind v2, and it works as expected :|
@@DungLe-rc7ex i didnt have errors, maybe is your import, i had a problem but i had resolve importing global.css in _layout.tsx principal not the layout in (tabs)-_layout.tsx
Nativewind docs: www.nativewind.dev/getting-started/expo-router
React Native docs recommended the framework: reactnative.dev/docs/environment-setup
GitHub: github.com/ZAWADBINSHARIF/Expo-v52-Nativewind-v4-tailwindCSS-v3.4.15-with-typescript
please tell us how to install nativewind in npx create-expo-app@latest --template blank
I am just started learning react and i was stuck i this ...but you saved my a lot of time ....Thank you...
@@Faraz-o2m your're welcome. I'm happy to help you 😄. I hope you can achieve your goals.
Thanks for this, I didn't know I had to create the babel file
Thanks! I've been trying to figure this one out for a long while lol those outdated vids got me confused lmao
thank you very much. i have spent the last trying to get it to work but was unsuccessful. but now it works thanks to your video. thanks again
@@samuelaubyn6919 You're most welcome 🤗
This is the only tutorial that worked for me. Thank you so much.
@@emswoo you're most welcome 🤗
Thank you very much. I was able to implement version 4 of NativeWind in my project thanks to your tutorial. 👍👍👍👍
@@ghislainkouassi7098 your're welcome. I'm happy to help you 😄
thanks bro you saved me, i had no idea how to install tailwind
@@tecsoluctions8684 you're most welcome 🤗
Thank you bro for your amazing vid! Just curious, what's font are you using?
font family name: MV Boli, 'Courier New', monospace
@@zawadbinsharif Thank you!
why do some stylings dont work? only bg-white is working and flex. I cant edit text in any way.
Excellent bro U gave solution to do what when babel.config.js didn't auto created with new project
Glad it helped ☺
Thanks bro
This is the best
just a question, if i make more screens under tab route of auth do i need to import global.css into those file too or only importing in _layout.tsx will work for all of other screens
@@AnuragKumar-ov3hb You have to import the global.css file only once in the app/_layout.tsx file. You don't need to import it in the other layout files.
Without expo, how to setup nativewind? I am using react native 0.76 or react-native-community/cli anyone can guide me?
@@johnbenedictsantos9786 The installation process is same like expo framework. Here is the link of Nativewind docs which have the steps to download Nativewind in react native Cli. www.nativewind.dev/getting-started/react-native
unfortunately I couldn't make it work :( I followed the documentation step-by-step, including adding custom metro.config.js with global css. But it does not work at all :(( any ideas?
@@DungLe-rc7ex maybe you miss something. This is the GitHub link of the Expo project with Tailwind CSS github.com/ZAWADBINSHARIF/Expo-v52-Nativewind-v4-tailwindCSS-v3.4.15-with-typescript
Download it and run it. Match this GitHub project to your project step by step. Also, match all the package versions in the package.json file.
@@zawadbinsharif it's extremely strange that I've cloned your repo and compared every file (configs, package.json). I even tried replacing your files with mine, and everything worked perfectly on your repo, lol. But it didn't on my project, haha. I gave up for now and backed to nativewind v2, and it works as expected :|
@@DungLe-rc7ex i didnt have errors, maybe is your import, i had a problem but i had resolve importing global.css in _layout.tsx principal not the layout in (tabs)-_layout.tsx
thanks bro this helps alot
thank you so much for the help
Thank you so so much bro 🙏
@@NayeffBOINARIZIKI you're most welcome 🤗
Thank You Very Much!
You are great sir
Thanks :)
Thanks mate
@@katadayat3746 you're most welcome 🤗
thank you so much
thank u sir
Best of best
Thanks 😊
thanks bro!
Welcome!
nice
Thank you so much!
@@dilannawarathne you're welcome