How to install Shadcn UI in React, Vite and Typescript

  Рет қаралды 7,823

Devtamin

Devtamin

Күн бұрын

In this video, I'm going to teach how to set up Shadcn/ui in React with Vite using Typescript. We will learn from the official Shadcn Doc, so the installation is step-by-step and easy to understand
If you want to know how to set up shadcn/ui in React Typescript projects, this video tutorial will help you install Shadcn successfully.

Пікірлер: 28
@keifer7813
@keifer7813 2 ай бұрын
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
@anuragbandyopadhyay3483
@anuragbandyopadhyay3483 2 ай бұрын
Same for me
@worldwide6626
@worldwide6626 7 күн бұрын
Thank you! Is there a video on how to style the component with tailwind?
@Devtamin
@Devtamin 18 сағат бұрын
Unfortunately not
@yeunhatdei1609
@yeunhatdei1609 Ай бұрын
why i dont see the vite.config.js file when i create the project
@oluwanifemiorimoloye-ww6nf
@oluwanifemiorimoloye-ww6nf Ай бұрын
Thanks for the video, very helpful ❤ What is that one habit that really helped you while learning to code?
@Devtamin
@Devtamin Ай бұрын
Nothing special. Just keep learning
@roubilridlo2159
@roubilridlo2159 7 ай бұрын
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
@bimangunarathne2239
@bimangunarathne2239 2 ай бұрын
hi in my project there is not creating component folder when i install the component did you know how to fix that
@randombasketballguy337
@randombasketballguy337 6 ай бұрын
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 6 ай бұрын
make sure that you update node.js to the latest version. Hope it helps
@serene7560
@serene7560 4 ай бұрын
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 3 ай бұрын
@@serene7560 solve this error my brother give code link
@MinTechBD
@MinTechBD 2 ай бұрын
i am also get this error
@anuragbandyopadhyay3483
@anuragbandyopadhyay3483 2 ай бұрын
@@serene7560 I had to manually change the file system in order to run the application.
@hajidraihan5543
@hajidraihan5543 Ай бұрын
nice its very helpful
@Devtamin
@Devtamin Ай бұрын
Glad to hear that
@attiquerehman779
@attiquerehman779 14 күн бұрын
thanks man
@Devtamin
@Devtamin 13 күн бұрын
You're welcome
@ayoubzo5841
@ayoubzo5841 6 ай бұрын
thank you this is really helpful love you
@Devtamin
@Devtamin 6 ай бұрын
You're so welcome!
@HaiderAli-wj3tx
@HaiderAli-wj3tx 6 ай бұрын
thank you so much very helpful for me
@Devtamin
@Devtamin 6 ай бұрын
You're welcome. Thank you for a comment
@Jayemby
@Jayemby 2 ай бұрын
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 2 ай бұрын
I am facing the same issue. Were you able to fix it?
@フヌ-k5q
@フヌ-k5q 2 ай бұрын
thx❤
The Most Important Design Pattern in React
35:04
Cosden Solutions
Рет қаралды 53 М.
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 1,9 МЛН
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,8 МЛН
Modern Data Fetching in React (Complete Guide)
16:41
Cosden Solutions
Рет қаралды 48 М.
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 186 М.
Is React Native Dead in 2024?| Explained | Senior SWE
9:54
How to install NextUI in React with Vite
12:41
Devtamin
Рет қаралды 3,9 М.
shadcn/ui is great! But what if...
8:18
Dev Leonardo
Рет қаралды 10 М.
The Best React Code I Wrote (Code Review)
24:50
Cosden Solutions
Рет қаралды 23 М.
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 1,9 МЛН