How to install TailWind CSS and Nativewind v4 in React Native v0.76 and Expo v52

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

Комментарии • 49

  • @zawadbinsharif
    @zawadbinsharif  Месяц назад +1

    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

    • @laxmanraiyt2536
      @laxmanraiyt2536 Месяц назад

      please tell us how to install nativewind in npx create-expo-app@latest --template blank

  • @Faraz-o2m
    @Faraz-o2m 24 дня назад +1

    I am just started learning react and i was stuck i this ...but you saved my a lot of time ....Thank you...

    • @zawadbinsharif
      @zawadbinsharif  24 дня назад

      @@Faraz-o2m your're welcome. I'm happy to help you 😄. I hope you can achieve your goals.

  • @CaseStudyQB
    @CaseStudyQB 4 дня назад

    Thanks for this, I didn't know I had to create the babel file

  • @ayowj
    @ayowj 22 дня назад +1

    Thanks! I've been trying to figure this one out for a long while lol those outdated vids got me confused lmao

  • @samuelaubyn6919
    @samuelaubyn6919 Месяц назад

    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

    • @zawadbinsharif
      @zawadbinsharif  Месяц назад

      @@samuelaubyn6919 You're most welcome 🤗

  • @emswoo
    @emswoo Месяц назад

    This is the only tutorial that worked for me. Thank you so much.

  • @ghislainkouassi7098
    @ghislainkouassi7098 24 дня назад

    Thank you very much. I was able to implement version 4 of NativeWind in my project thanks to your tutorial. 👍👍👍👍

    • @zawadbinsharif
      @zawadbinsharif  24 дня назад +1

      @@ghislainkouassi7098 your're welcome. I'm happy to help you 😄

  • @tecsoluctions8684
    @tecsoluctions8684 Месяц назад

    thanks bro you saved me, i had no idea how to install tailwind

    • @zawadbinsharif
      @zawadbinsharif  29 дней назад

      @@tecsoluctions8684 you're most welcome 🤗

  • @fathulirfaan3917
    @fathulirfaan3917 5 дней назад

    Thank you bro for your amazing vid! Just curious, what's font are you using?

  • @masiemil2584
    @masiemil2584 14 дней назад

    why do some stylings dont work? only bg-white is working and flex. I cant edit text in any way.

  • @zeecreations8928
    @zeecreations8928 20 дней назад

    Excellent bro U gave solution to do what when babel.config.js didn't auto created with new project

  • @keystoller
    @keystoller 5 дней назад

    Thanks bro
    This is the best

  • @AnuragKumar-ov3hb
    @AnuragKumar-ov3hb Месяц назад

    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

    • @zawadbinsharif
      @zawadbinsharif  Месяц назад

      @@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
    @johnbenedictsantos9786 14 дней назад

    Without expo, how to setup nativewind? I am using react native 0.76 or react-native-community/cli anyone can guide me?

    • @zawadbinsharif
      @zawadbinsharif  14 дней назад

      @@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

  • @DungLe-rc7ex
    @DungLe-rc7ex 19 дней назад

    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?

    • @zawadbinsharif
      @zawadbinsharif  18 дней назад

      @@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.

    • @DungLe-rc7ex
      @DungLe-rc7ex 18 дней назад

      @@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 :|

    • @axelmsilvadev
      @axelmsilvadev 12 дней назад +1

      @@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

  • @rizzwanahmed2870
    @rizzwanahmed2870 Месяц назад

    thanks bro this helps alot

  • @fernandonunezvela
    @fernandonunezvela Месяц назад

    thank you so much for the help

  • @NayeffBOINARIZIKI
    @NayeffBOINARIZIKI Месяц назад

    Thank you so so much bro 🙏

    • @zawadbinsharif
      @zawadbinsharif  Месяц назад +1

      @@NayeffBOINARIZIKI you're most welcome 🤗

  • @abr2736
    @abr2736 Месяц назад

    Thank You Very Much!

  • @SimaDutta-w6t
    @SimaDutta-w6t Месяц назад

    You are great sir

  • @surhodev9826
    @surhodev9826 16 дней назад

    Thanks :)

  • @katadayat3746
    @katadayat3746 29 дней назад

    Thanks mate

    • @zawadbinsharif
      @zawadbinsharif  29 дней назад

      @@katadayat3746 you're most welcome 🤗

  • @Comp-j7h
    @Comp-j7h Месяц назад

    thank you so much

  • @a.v5221
    @a.v5221 Месяц назад

    thank u sir

  • @AkobirZiyodullayev-l1l
    @AkobirZiyodullayev-l1l Месяц назад

    Best of best

  • @alexandrepellegrino2699
    @alexandrepellegrino2699 Месяц назад

    thanks bro!

  • @MohammedAlziko
    @MohammedAlziko Месяц назад

    nice

  • @dilannawarathne
    @dilannawarathne 21 день назад

    Thank you so much!