How to use Tailwind CSS in React with Vite | Install TailwindCSS in React with ViteJS for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 มิ.ย. 2023
  • In this video, I will show you how to install Tailwind CSS in a React with Vite project. This is a step-by-step tutorial for beginners.
    ★★★ More Related Videos★★★
    How to create a React project with Vite - • Create React Project w...

ความคิดเห็น • 130

  • @vadak_
    @vadak_ 17 วันที่ผ่านมา +2

    Three minutes video solved my 20hrs issue. Thanks a lot bro!

  • @_isosa_
    @_isosa_ ปีที่แล้ว +6

    Useful and straight to the point!! Thanks a lot, subscribed!

    • @Devtamin
      @Devtamin  10 หลายเดือนก่อน

      Thx

  • @lukasknap1679
    @lukasknap1679 9 หลายเดือนก่อน

    Thanks for this video! Very useful.

  • @BosseM-er5wf
    @BosseM-er5wf 7 หลายเดือนก่อน +1

    Just the video i was looking for. Great job

    • @Devtamin
      @Devtamin  7 หลายเดือนก่อน

      Awesome, thank you!

  • @2brosmemes449
    @2brosmemes449 3 หลายเดือนก่อน +1

    Thanks i got your video helpful! 😊

  • @wailazzo
    @wailazzo 5 หลายเดือนก่อน +2

    THANK U BRO GOOD LUCK IN UR LIFE

  • @user-wm7rf1dl3n
    @user-wm7rf1dl3n หลายเดือนก่อน

    thenk you so much bro💕💕💕
    you saved my big problem in a short video ,

  • @anime_gen875
    @anime_gen875 2 หลายเดือนก่อน

    thank you for making it so simple bro it helped a lot

  • @akshat2808
    @akshat2808 26 วันที่ผ่านมา

    Worked Well!!

  • @deepakchhantyal7569
    @deepakchhantyal7569 3 หลายเดือนก่อน

    thank you , very useful

  • @okkaraung9512
    @okkaraung9512 9 หลายเดือนก่อน +1

    appreciate it. short to teh point explanation. keep up the good work brother.

    • @Devtamin
      @Devtamin  8 หลายเดือนก่อน +1

      Thank you for a comment

  • @sandyrose77
    @sandyrose77 2 หลายเดือนก่อน

    Thank you man❤️✨

  • @Gilbert-hk8ho
    @Gilbert-hk8ho หลายเดือนก่อน +5

    i have tried but the styles doesn't reflect on my vite app

  • @varunupadhyay2488
    @varunupadhyay2488 6 หลายเดือนก่อน +1

    very useful..straight to the point

    • @Devtamin
      @Devtamin  5 หลายเดือนก่อน

      Thank you for a comment

  • @aakashsaini7352
    @aakashsaini7352 11 หลายเดือนก่อน +1

    Thanks. Really helpful.

    • @Devtamin
      @Devtamin  10 หลายเดือนก่อน +1

      Glad it was helpful!

  • @tinanguyen1072
    @tinanguyen1072 10 หลายเดือนก่อน +1

    This helped a lot thank you!

    • @Devtamin
      @Devtamin  9 หลายเดือนก่อน

      Glad to hear!

  • @sivasankarmutyala1077
    @sivasankarmutyala1077 6 หลายเดือนก่อน +1

    Very Useful, thanks a lot🤗🤗

    • @Devtamin
      @Devtamin  6 หลายเดือนก่อน

      You're welcome 😊

  • @yuthcambo3712
    @yuthcambo3712 7 วันที่ผ่านมา

    Thank is useful

  • @subirdas6508
    @subirdas6508 9 วันที่ผ่านมา

    thanks, I got it

  • @patrickm5656
    @patrickm5656 10 หลายเดือนก่อน +1

    Thanks for the help!

    • @Devtamin
      @Devtamin  9 หลายเดือนก่อน

      Happy to help!

  • @raveenraj294
    @raveenraj294 26 วันที่ผ่านมา

    Thanks Boss

  • @marislaradev
    @marislaradev 5 หลายเดือนก่อน +1

    Thanks! It helps me a lot ❤

    • @Devtamin
      @Devtamin  4 หลายเดือนก่อน

      I'm glad!

  • @mareq_111
    @mareq_111 8 หลายเดือนก่อน +1

    Thanks for helpful video 🔥

    • @Devtamin
      @Devtamin  8 หลายเดือนก่อน

      No problem 👍

  • @muhammadtayyab6077
    @muhammadtayyab6077 9 หลายเดือนก่อน +1

    Nice Bro! very helpful video

    • @Devtamin
      @Devtamin  8 หลายเดือนก่อน

      Glad you liked it

  • @tishycs8187
    @tishycs8187 5 หลายเดือนก่อน +1

    Thank you so much for this video

    • @Devtamin
      @Devtamin  5 หลายเดือนก่อน

      Most welcome 😊

  • @truuta9168
    @truuta9168 7 หลายเดือนก่อน +1

    it worked, thank you!

    • @Devtamin
      @Devtamin  6 หลายเดือนก่อน

      You're welcome!

  • @ingridoliveira1065
    @ingridoliveira1065 2 หลายเดือนก่อน

    very good, thanks : )

    • @Devtamin
      @Devtamin  2 หลายเดือนก่อน

      Glad you liked it!

  • @shankargurung1335
    @shankargurung1335 4 หลายเดือนก่อน +1

    really awesome thanks a lot bro

    • @Devtamin
      @Devtamin  4 หลายเดือนก่อน

      Always welcome

  • @quvomiddinkamalov3292
    @quvomiddinkamalov3292 3 หลายเดือนก่อน +2

    Thank you!

    • @Devtamin
      @Devtamin  3 หลายเดือนก่อน

      Welcome!

  • @user-fl5yo6yx5v
    @user-fl5yo6yx5v 4 หลายเดือนก่อน +1

    ty

  • @YouDoStyling
    @YouDoStyling หลายเดือนก่อน +1

    great 👍🏻

    • @Devtamin
      @Devtamin  หลายเดือนก่อน

      Thank you 👍

  • @Awakened_Pot
    @Awakened_Pot 7 หลายเดือนก่อน +1

    Thanks mate!

    • @Devtamin
      @Devtamin  7 หลายเดือนก่อน

      Glad it helped

  • @sameerahmad-lu1gn
    @sameerahmad-lu1gn 3 วันที่ผ่านมา

    hey i tried the same but when iam copy pasting those three @tailwind thing in index.css then it appear as a wavy yellow underline how do i solve it???

  • @SachinYadav-pg2bv
    @SachinYadav-pg2bv หลายเดือนก่อน +1

    Thanks bro❤

    • @Devtamin
      @Devtamin  หลายเดือนก่อน

      Welcome 😊

  • @melissachavana1222
    @melissachavana1222 10 หลายเดือนก่อน +1

    thank you!

    • @Devtamin
      @Devtamin  9 หลายเดือนก่อน

      Welcome!

  • @giorgikiladze1151
    @giorgikiladze1151 3 หลายเดือนก่อน +1

    thank you

    • @Devtamin
      @Devtamin  3 หลายเดือนก่อน

      You're welcome

  • @shinthantkaung
    @shinthantkaung 4 หลายเดือนก่อน +1

    Thanks bud!

    • @Devtamin
      @Devtamin  4 หลายเดือนก่อน

      No problem!

  • @nipunjayasinghe1880
    @nipunjayasinghe1880 2 หลายเดือนก่อน +1

    Thanks bro!

    • @Devtamin
      @Devtamin  2 หลายเดือนก่อน

      No problem!

  • @mctribals
    @mctribals 7 หลายเดือนก่อน +1

    Gracias buen video...

    • @Devtamin
      @Devtamin  7 หลายเดือนก่อน

      You're welcome

  • @ayonbit6186
    @ayonbit6186 หลายเดือนก่อน

    But there is a warining in the compiler . How to fix the warning ?

  • @franogugic654
    @franogugic654 5 หลายเดือนก่อน +1

    THANKKKK YOUUUU MANNNNNNNNNNNNNNNNNNN

    • @Devtamin
      @Devtamin  5 หลายเดือนก่อน

      you're welcome

  • @user-mv3sz9gk1d
    @user-mv3sz9gk1d 16 วันที่ผ่านมา

    hii in my case tailwind intelissance isnt working

  • @arnab_d9
    @arnab_d9 6 หลายเดือนก่อน +1

    thanks ❤

    • @Devtamin
      @Devtamin  6 หลายเดือนก่อน +1

      You're welcome 😊

  • @vohncena
    @vohncena 3 หลายเดือนก่อน +1

    What is your vs code theme i really want this one

  • @JasurHaydarovChannel
    @JasurHaydarovChannel 16 วันที่ผ่านมา +1

    thanks

    • @Devtamin
      @Devtamin  16 วันที่ผ่านมา +1

      Welcome

  • @zero3281
    @zero3281 3 วันที่ผ่านมา

    thx

  • @davidbutler2391
    @davidbutler2391 7 ชั่วโมงที่ผ่านมา

    good

  • @Saske443
    @Saske443 6 หลายเดือนก่อน

    Thanks Champ

    • @Devtamin
      @Devtamin  5 หลายเดือนก่อน

      You're welcome

  • @AnjaliSingh-hn8ff
    @AnjaliSingh-hn8ff หลายเดือนก่อน

    whenever i run npm run dev after tailwind it says - missing script:"dev"

  • @7days280
    @7days280 ปีที่แล้ว

    thankyoiu

    • @Devtamin
      @Devtamin  10 หลายเดือนก่อน

      You’re welcome

  • @Judd2000
    @Judd2000 4 หลายเดือนก่อน +1

    Thank you, I was not following the Vite specific framework guide.

    • @Devtamin
      @Devtamin  4 หลายเดือนก่อน

      Glad it was helpful!

  • @Explore_new_game
    @Explore_new_game 20 วันที่ผ่านมา

    Hello sir,
    When is paste data in index.css file it's showing a unknown error.
    Please help sir 🙏

  • @AtikshaSharma-k5d
    @AtikshaSharma-k5d 20 วันที่ผ่านมา

    Talwind is not applying what to do please help

  • @pebblesmoker565
    @pebblesmoker565 5 หลายเดือนก่อน

    for some reason am only getting tailwindcss.config.js and not getting postcss.config file can someone say why???

  • @omomaighawosa570
    @omomaighawosa570 10 หลายเดือนก่อน +1

    Please what tailwind vscode extension are you using ?
    Great video btw

    • @rishabh2k01
      @rishabh2k01 10 หลายเดือนก่อน +2

      tailwind intelligents

    • @Devtamin
      @Devtamin  9 หลายเดือนก่อน +1

      thank you for a comment

  • @azonsongdigital
    @azonsongdigital 5 หลายเดือนก่อน

    What I want to know is after run it for the first time usin' ```npm run div``` how can it again once I close my terminal... Because of i use nom run dive again the page comes out blank, the server runs but all my work just disappears... Any help? Anyone?

  • @ahmadbasyouni9173
    @ahmadbasyouni9173 5 หลายเดือนก่อน +1

    what theme do u use on vscode?

    • @Devtamin
      @Devtamin  5 หลายเดือนก่อน

      Material Icon Theme

  • @simohamedlaarmani6789
    @simohamedlaarmani6789 2 หลายเดือนก่อน

    You end up with a lot of css properties. Hoq can you sort them sfter in a react app using prettier-plugin ?

  • @ryostyles9904
    @ryostyles9904 9 หลายเดือนก่อน +1

    Thanks, so the postcssconfig file was missing and that's the reason it wasn't working. I had installed only tailwindcss. Thanks for the help.

    • @Devtamin
      @Devtamin  8 หลายเดือนก่อน

      Glad I could help

  • @invinciblevikas9553
    @invinciblevikas9553 หลายเดือนก่อน

    I have followed the same step don't know why my css does't work

  • @aryanmaskey9147
    @aryanmaskey9147 4 หลายเดือนก่อน

    i already have extension installed but i need to hit ctrl+space for suggestions. isnt there a solution for this?

  • @raffph
    @raffph 6 หลายเดือนก่อน +1

    why my tailwind cant show the recommend style example when i type text-green-100 the 100 cant show the option

    • @LOLUMAAAD
      @LOLUMAAAD 6 หลายเดือนก่อน +1

      Was wondering this myself but found the solution and was to download extension in VSC called "Tailwind CSS IntelliSense"

    • @Devtamin
      @Devtamin  6 หลายเดือนก่อน

      Let's install this extension Tailwind CSS IntelliSense. If it doesn't show any recommends, that means tailwind has been implemented improperly

  • @onlineviral7518
    @onlineviral7518 5 หลายเดือนก่อน +1

    My vite app is not working with tailwind css what should i do

    • @Devtamin
      @Devtamin  5 หลายเดือนก่อน

      Which JavaScript frameworks are you using?

  • @ilyamiller4131
    @ilyamiller4131 10 หลายเดือนก่อน +2

    Spent hours at work figuring out why my tailwind keeps getting ignored in vite… I feel like such an idiot now. Thanks a lot for the helpful video!

    • @Devtamin
      @Devtamin  9 หลายเดือนก่อน

      You're welcome

  • @ablecj4481
    @ablecj4481 8 หลายเดือนก่อน

    I have done it in the same way as you shown but my tailwind css is not applying

    • @darrenhutchinson8018
      @darrenhutchinson8018 8 หลายเดือนก่อน

      you might have missed saving the app.jsx file

    • @fintech-rh8de
      @fintech-rh8de 8 หลายเดือนก่อน

      same problem with me. i didn't miss any thing.my autosved enabled.

    • @yousub6220
      @yousub6220 8 หลายเดือนก่อน +1

      I think, you should restart the project once, stop the localhost server and run again, just type ctrl + c and then npm run dev

    • @brooklyninja
      @brooklyninja 3 หลายเดือนก่อน

      @@yousub6220 This worked for me lmao, thank you

  • @theycallmejatin
    @theycallmejatin ปีที่แล้ว +1

    Let's forget about tailwind for a sec ,
    default css is showing black screen & white text in react app
    How to make it normal like any web page

    • @Devtamin
      @Devtamin  ปีที่แล้ว

      Sorry about that. Did you install react properly? Check this out th-cam.com/video/8vh5dmBaVQw/w-d-xo.html

    • @theycallmejatin
      @theycallmejatin ปีที่แล้ว

      @@Devtamin i made both the default css files empty and it was enough to solve problem

  • @redeemasuquo
    @redeemasuquo 7 หลายเดือนก่อน +1

    Hi, av been encountering this problem 'the content option in your Tailwind CSS configuration is missing or empty, configure your content sources or your generated CSS will be missing styles. Can anyone help me?

    • @69_anonymous._
      @69_anonymous._ 6 หลายเดือนก่อน

      Same. Have you found the solution? If so pls help me

    • @redeemasuquo
      @redeemasuquo 5 หลายเดือนก่อน

      @@69_anonymous._ nope, I haven't found d solution

    • @ACEmmanuel
      @ACEmmanuel 5 หลายเดือนก่อน

      This is because the so-called file you copied and pasted from the Tailwind site is not present in your React project.
      I mean the file name

    • @redeemasuquo
      @redeemasuquo 5 หลายเดือนก่อน

      @@ACEmmanuel how do I resolve d error

    • @ACEmmanuel
      @ACEmmanuel 5 หลายเดือนก่อน

      @@redeemasuquo are you using vite for this?

  • @quotespower9911
    @quotespower9911 5 หลายเดือนก่อน +1

    Not working

    • @ramunasgirdziusas9636
      @ramunasgirdziusas9636 3 หลายเดือนก่อน

      Need to add tailwindcss() to vite.config.js which is not shown in vite's homepage!

  • @FalcoAMV
    @FalcoAMV 2 หลายเดือนก่อน +1

    didnt worked

  • @abjeetsingh207
    @abjeetsingh207 11 หลายเดือนก่อน

    thank you

    • @Devtamin
      @Devtamin  10 หลายเดือนก่อน

      Not a big deal

  • @diwakardayal954
    @diwakardayal954 6 หลายเดือนก่อน +1

    thanks

    • @Devtamin
      @Devtamin  5 หลายเดือนก่อน

      You're welcome!

  • @truewisdom1123
    @truewisdom1123 9 หลายเดือนก่อน +1

    thank you

    • @Devtamin
      @Devtamin  8 หลายเดือนก่อน

      You're welcome