How to install Shadcn UI in React, Vite and Typescript

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 30

  • @worldwide6626
    @worldwide6626 3 місяці тому +2

    Thank you! Is there a video on how to style the component with tailwind?

    • @Devtamin
      @Devtamin  3 місяці тому +1

      Unfortunately not

  • @ayoubzo5841
    @ayoubzo5841 9 місяців тому +3

    thank you this is really helpful love you

    • @Devtamin
      @Devtamin  9 місяців тому

      You're so welcome!

  • @keifer7813
    @keifer7813 6 місяців тому +4

    Nice vid. I followed the steps precisely but for some reason, it created a folder called "@" in my root directory. This folder had the "components" and "lib" folders inside it. Why might that have happened? And how do I fix it?
    Thanks

  • @oluwanifemiorimoloye-ww6nf
    @oluwanifemiorimoloye-ww6nf 5 місяців тому +2

    Thanks for the video, very helpful ❤
    What is that one habit that really helped you while learning to code?

    • @Devtamin
      @Devtamin  4 місяці тому +2

      Nothing special. Just keep learning

  • @HaiderAli-wj3tx
    @HaiderAli-wj3tx 9 місяців тому +3

    thank you so much
    very helpful for me

    • @Devtamin
      @Devtamin  9 місяців тому

      You're welcome. Thank you for a comment

  • @hajidraihan5543
    @hajidraihan5543 5 місяців тому +3

    nice its very helpful

    • @Devtamin
      @Devtamin  4 місяці тому

      Glad to hear that

  • @bimangunarathne2239
    @bimangunarathne2239 6 місяців тому +1

    hi in my project there is not creating component folder when i install the component did you know how to fix that

  • @roubilridlo2159
    @roubilridlo2159 10 місяців тому +2

    i already have custom css, and already have configured tailwind.config.css
    its basically i using tailadmin template and wanna add shadcn ui in it. can you teach me how to do it?
    sorry for my bad english

  • @randombasketballguy337
    @randombasketballguy337 9 місяців тому +3

    I’m getting an error that says “Cannot find module ‘@/components/ui/button’ or it’s corresponding type declarations. Any ideas how to fix it?

    • @Devtamin
      @Devtamin  9 місяців тому

      make sure that you update node.js to the latest version. Hope it helps

    • @serene7560
      @serene7560 7 місяців тому +1

      I had the same problem, I deleted the @ folder where the component was downloaded, then I ran the shadcn-ui init command again and this time it created a folder inside the src, then it worked.

    • @webshipon1941
      @webshipon1941 6 місяців тому

      @@serene7560 solve this error my brother give code link

    • @MinTechBD
      @MinTechBD 6 місяців тому +2

      i am also get this error

    • @anuragbandyopadhyay3483
      @anuragbandyopadhyay3483 6 місяців тому +1

      @@serene7560 I had to manually change the file system in order to run the application.

  • @Jayemby
    @Jayemby 5 місяців тому

    my tsconfig.json doesn't have compilerOptions when I go to load it. I've followed all the steps. When I try to just add it instead, then I just get loads of 'Cannot find module ‘@/components/ui/button' errors even though I've installed all the components later.

    • @adityaraj3643
      @adityaraj3643 5 місяців тому

      I am facing the same issue. Were you able to fix it?

  • @yeunhatdei1609
    @yeunhatdei1609 4 місяці тому

    why i dont see the vite.config.js file when i create the project

  • @attiquerehman779
    @attiquerehman779 3 місяці тому +2

    thanks man

    • @Devtamin
      @Devtamin  3 місяці тому

      You're welcome

  • @フヌ-k5q
    @フヌ-k5q 5 місяців тому

    thx❤

  • @wallelignworkie8749
    @wallelignworkie8749 6 днів тому +1

    thank you it is helping my, but tsconfig.ts and tsconfig.app.ts is reversed in my case

    • @Devtamin
      @Devtamin  5 днів тому

      Sorry, it might be updated