How to Install Shadcn in React, Vite with Javascript | Set up shadcn/ui in React, Vite, Javascript

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

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

  • @wakandagaming5763
    @wakandagaming5763 9 месяцев назад +8

    hi all if u get style not working after follow this tutorial just import u'r global css bruh import "./style/global.css";

    • @Devtamin
      @Devtamin  9 месяцев назад +1

      Thank you for sharing

    • @Electro_69
      @Electro_69 7 месяцев назад +4

      Thanks bro after reading this comment i restored my folder from recycle bin and it worked

    • @augustinradjou3909
      @augustinradjou3909 4 месяца назад

      Thanks

    • @Reels-fact-7
      @Reels-fact-7 4 месяца назад

      @@Devtamin npx shadcn-ui@latest init sir its not working,, help me please

    • @tanmayghosh8311
      @tanmayghosh8311 2 месяца назад

      @@Electro_69xd

  • @abidibnazam4462
    @abidibnazam4462 11 месяцев назад +31

    This man exactly uploads what I need, he finds the gap that no one tells and makes great tutorials. Thanks man!

    • @Devtamin
      @Devtamin  11 месяцев назад +2

      Happy to help!

    • @nichas143
      @nichas143 10 месяцев назад +2

      yes this is the place even i got stuck.

  • @nemeziz_prime
    @nemeziz_prime 10 месяцев назад +18

    This is exactly what I was looking for. It felt like ShadCN instructions on their docs are more oriented towards NextJS. But you made it easy for people using React and Vite. Thanks a lot!

    • @Devtamin
      @Devtamin  10 месяцев назад +1

      You're welcome

  • @parshv9-b47sheth3
    @parshv9-b47sheth3 9 месяцев назад +6

    i spend 30 min to config shadcn this guy done very rapidly good video

    • @Devtamin
      @Devtamin  9 месяцев назад

      Happy to help

    • @Electro_69
      @Electro_69 7 месяцев назад

      fr he made it too simple

  • @Paradox_1
    @Paradox_1 10 месяцев назад +4

    you are a live saver for React developer 😎✅⚡

    • @Devtamin
      @Devtamin  10 месяцев назад

      You're welcome

  • @lituanaskobea.9826
    @lituanaskobea.9826 3 месяца назад +1

    I'll be taking on a hackathon match these coming weeks and this is exactly what am looking forrrr, thank youuuuu!!!

    • @Devtamin
      @Devtamin  3 месяца назад

      I highly recommend using Typescript with Shadcn/ui rather than Javascript because Typescript is officially supported

  • @cy4381
    @cy4381 9 месяцев назад +1

    I usually don't comment on videos but this video helped me a lot. Thanks

    • @Devtamin
      @Devtamin  9 месяцев назад

      Glad to hear it

  • @vijaysreekarkakarapalli4983
    @vijaysreekarkakarapalli4983 2 месяца назад

    Thanks a lot boss. Been trying for so long figuring out how to make it work. This helped now I can get started on my project.

    • @Devtamin
      @Devtamin  2 месяца назад

      Glad you like it

  • @jacksine-uh8bt
    @jacksine-uh8bt 9 месяцев назад +2

    Thank you Man for helping my projects❤❤

    • @Devtamin
      @Devtamin  9 месяцев назад

      No problem 😊

  • @shafiemukhre
    @shafiemukhre 11 месяцев назад +4

    Javascript is a much better option for the purpose of a hackathon, this is helpful to know how to set up tailwind and shadcn for vite-react in JS, thank you!

    • @Devtamin
      @Devtamin  10 месяцев назад

      You're welcome

  • @tejasnasre
    @tejasnasre 9 месяцев назад +4

    Thank You Brother Nice Explanation

  • @durgfestivalvibes
    @durgfestivalvibes 10 месяцев назад +1

    Couldn't find video for using vite react shadcn ui and in suggested videos got your video!!
    Thanks man!!! 🫶 🙏
    Subscribed!!

    • @Devtamin
      @Devtamin  10 месяцев назад

      Thanks for the sub!

  • @sanchit0160
    @sanchit0160 10 месяцев назад +2

    thank you brother
    love and respect from India

    • @Devtamin
      @Devtamin  10 месяцев назад

      Glad it helped!

  • @ManishRaj-dy7oi
    @ManishRaj-dy7oi 2 месяца назад +4

    1.>npm install -g mern-project-cli
    2.>devcli create-frontend project_name --shadcn
    Install 1st command in your computer
    And run 2nd command to create react project with shadcn+ vite+ tailwind css in just one command.

    • @Devtamin
      @Devtamin  2 месяца назад

      Thank you for sharing

  • @LearnAlongFaizan
    @LearnAlongFaizan 11 месяцев назад +2

    It was literally useful for us, Thank you so much.
    hoping for some long tutorials and auth for react and continue with backend api

    • @Devtamin
      @Devtamin  11 месяцев назад

      More to come!

  • @elmenikmati
    @elmenikmati 9 месяцев назад +3

    ¡Excelente, justo lo que necesitaba! gracias

    • @Devtamin
      @Devtamin  9 месяцев назад +1

      You're welcome

  • @tech-adventurer
    @tech-adventurer 5 месяцев назад

    Excellent video! To he point and with a very clear instruction!
    Well done 💪

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

    thanks bro🎉, I'm fed up with the strictness of ts because i thought ShadCN could only be in ts, after watching this video i am ready to go back to JS 😂

  • @carlosdelac
    @carlosdelac 10 месяцев назад +3

    Very helpful, thank you!

    • @Devtamin
      @Devtamin  10 месяцев назад +1

      Glad it was helpful!

  • @shashanksaurabh6478
    @shashanksaurabh6478 5 месяцев назад

    thankyou!
    Finally I was able to set up project with this video.

    • @owaisali7063
      @owaisali7063 5 месяцев назад

      bro but there is two tsconfig files how to in the shadcn docs how to tackle that ?

    • @shashanksaurabh6478
      @shashanksaurabh6478 5 месяцев назад

      @@owaisali7063 in mine I was not getting two TS config

  • @Shiv_kolekar
    @Shiv_kolekar 5 месяцев назад +1

    Really helpful video, keep it up👍🏻

    • @Devtamin
      @Devtamin  4 месяца назад

      Thank you for a comment

  • @UXDlozi
    @UXDlozi 8 месяцев назад +2

    Thank you so much, great tutorial.

    • @Devtamin
      @Devtamin  8 месяцев назад

      You're very welcome!

  • @BabacarThiam-lj3vv
    @BabacarThiam-lj3vv 2 месяца назад +1

    This is amazing for this video, thanks

    • @Devtamin
      @Devtamin  2 месяца назад

      You're very welcome!

  • @beautifulworld3430
    @beautifulworld3430 3 месяца назад

    Thankyou so much I was struggling to setup shadcn

    • @Devtamin
      @Devtamin  3 месяца назад

      You're welcome

  • @mustafaali-nk8mx
    @mustafaali-nk8mx 2 месяца назад

    thankyou soo much for that i would like to get a bit of explaination abt why we did the tsconfig files and stuff if possible but it really worked for me thanksalot < 3 def worth a sub

  • @mohandev005
    @mohandev005 3 месяца назад +1

    Thanks a lot man😊 , you save my day.

    • @Devtamin
      @Devtamin  3 месяца назад

      Happy to help

  • @gabrielzhu3236
    @gabrielzhu3236 10 месяцев назад +3

    thanks a lot this is really helpful!however I have a question about the form component, becasue it seems using some features that only typescript used? Can you give a tutorial about how to use the form component in js? Again thank you sooo much !

    • @Devtamin
      @Devtamin  10 месяцев назад +1

      Sorry to hear that there is a bug on form components. There was a comment requesting me to do this video and I did not check it thoroughly if there is a bug. I will try to check it out again. Thank you for your comment.

  • @manojmurugan590
    @manojmurugan590 4 месяца назад +1

    Thanks bro for clearing my dobuts

    • @Devtamin
      @Devtamin  4 месяца назад

      Always welcome

  • @ArmanGoury-ww8ke
    @ArmanGoury-ww8ke Месяц назад +1

    thankyou brother very helpful for me

  • @mohammedhamza5242
    @mohammedhamza5242 10 месяцев назад +1

    Great!! This was what I needed. Another question: Have you made a video on how to use next-ui with Vite+React and JavaScript?

    • @Devtamin
      @Devtamin  9 месяцев назад +1

      Not yet! I will do. Thank you for the question. It is a great idea

    • @Devtamin
      @Devtamin  9 месяцев назад

      ruclips.net/video/7zNmLhWerng/видео.html

    • @mohammedhamza5242
      @mohammedhamza5242 9 месяцев назад

      @@Devtamin Thanks for this one too.

  • @benson52541110
    @benson52541110 11 месяцев назад +3

    Thank you for your help. I have been stuck on the jsconfig.json file for a while.

    • @Devtamin
      @Devtamin  11 месяцев назад

      Glad I could help

  • @pushkarjain4669
    @pushkarjain4669 5 месяцев назад +1

    saved my lots of time. Thank you so much

    • @Devtamin
      @Devtamin  4 месяца назад

      You're welcome

  • @eduardomatheussilvadasneve6980
    @eduardomatheussilvadasneve6980 6 месяцев назад +1

    every good my friend!

    • @Devtamin
      @Devtamin  6 месяцев назад

      Thank you! Cheers!

  • @UsmanHussain-k3d
    @UsmanHussain-k3d 11 месяцев назад +2

    You are explanation is a very clear and amazing , please do the Laravel + react crud with Tailwind css , please😊 , it's more help for meAmazing

    • @Devtamin
      @Devtamin  11 месяцев назад +1

      Thank you, I will

  • @SagaraNuwan-b7j
    @SagaraNuwan-b7j 7 месяцев назад +1

    thank you so much.. nice explanation

    • @Devtamin
      @Devtamin  7 месяцев назад

      You are most welcome

  • @martinoklapez
    @martinoklapez 8 месяцев назад +1

    Why do you created 2 Carousel files / components? Why did you create the demo carousel file when you already had the carousel.tsx file automatically through the "comand npx shadcn-ui@latest add carousel"?
    Coulnd't you just paste the example code from the shadcn website into the automatically generated component file?

  • @adarsh-chakraborty
    @adarsh-chakraborty 8 месяцев назад +2

    THANK YOU SO MUCH

  • @MOHAMED-AMINE-CHEKROUNI
    @MOHAMED-AMINE-CHEKROUNI 7 месяцев назад

    thanke you for this video, you saved me so much time, you got new subscriber

  • @rohitahir-q5i
    @rohitahir-q5i 3 месяца назад

    yes your way helps a lot keep it up
    🤑

  • @_itshenry
    @_itshenry 8 месяцев назад +1

    You're a life saver bro... what about Aceternity UI for React JS😁

  • @nast7458
    @nast7458 4 месяца назад

    Thanks ao so much for yhis tutorial!! ❤❤❤

  • @Stufflahza
    @Stufflahza 9 месяцев назад +2

    your the best

    • @Devtamin
      @Devtamin  9 месяцев назад +1

      Thank you for a comment

  • @Solohd12
    @Solohd12 9 месяцев назад +1

    This means i can use alias in js ??

  • @alexhelm6784
    @alexhelm6784 3 месяца назад +1

    i can't create a jsconfig.json, I have this message : the name jsconfig.json is not valide as a file or folder name. Please choose a different name.
    anyone has this issue ?

  • @GokulHans
    @GokulHans 11 месяцев назад +3

    Thanks a lot bro

    • @Devtamin
      @Devtamin  11 месяцев назад +1

      Always welcome. Thank you for a comment

    • @GokulHans
      @GokulHans 11 месяцев назад +1

      @@Devtamin 😌

  • @komauk4368
    @komauk4368 11 месяцев назад +2

    I don't use tailwind css class.Can you help me?

    • @Devtamin
      @Devtamin  11 месяцев назад

      can you explain more about it ?

  • @quoclam7140
    @quoclam7140 11 месяцев назад +1

    following just for this tutorial

    • @Devtamin
      @Devtamin  11 месяцев назад

      Thank you so much

  • @german4539
    @german4539 9 месяцев назад +2

    ty so much bro!

    • @Devtamin
      @Devtamin  9 месяцев назад

      Happy to help

  • @vamsimonohar
    @vamsimonohar 5 месяцев назад +1

    Hi Devtamin, what keyboard do you use?

    • @Devtamin
      @Devtamin  5 месяцев назад

      Dell

    • @vamsimonohar
      @vamsimonohar 5 месяцев назад

      @@Devtamin can you pls tell me the model as well 😅 Thank you

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

    how will I deploy this project cause having .json

  • @AhmadMughal1
    @AhmadMughal1 5 месяцев назад

    The issue with this that it shows no intellisense for when using onClick or ClassName attribute on all of these components i don't seem to find any way to resolve.

  • @chamalsena
    @chamalsena 8 месяцев назад +2

    thank you bro

    • @Devtamin
      @Devtamin  8 месяцев назад

      You're welcome!

  • @KrishnaGupta-bp1ny
    @KrishnaGupta-bp1ny Месяц назад +1

    thanks a lot 🙏

  • @zantica
    @zantica 3 месяца назад +1

    if u have a troubble on a shadcn cli step, configure tailwindcss with the official doc...

  • @khuramshahzad9089
    @khuramshahzad9089 5 месяцев назад +1

    followed all the steps but got the following error :
    "
    PS C:\Users\momin\Desktop\New folder\githubProfileChecker> npx shadcn-ui@latest init
    node:internal/modules/esm/resolve:215
    const resolvedOption = FSLegacyMainResolve(packageJsonUrlString, packageConfig.main, baseStringified);
    ^
    Error: Cannot find package 'C:\Users\momin\AppData\Local
    pm-cache\_npx\125ee17d583c4e03
    ode_modules\bl\package.json' imported from C:\Users\momin\AppData\Local
    pm-cache\_npx\125ee17d583c4e03
    ode_modules\stdin-discarder\index.js
    at legacyMainResolve (node:internal/modules/esm/resolve:215:26)
    at packageResolve (node:internal/modules/esm/resolve:841:14)
    at moduleResolve (node:internal/modules/esm/resolve:927:18)
    at defaultResolve (node:internal/modules/esm/resolve:1169:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38)
    at ModuleWrap. (node:internal/modules/esm/module_job:87:39)
    at link (node:internal/modules/esm/module_job:86:36) {
    code: 'ERR_MODULE_NOT_FOUND'
    }
    Node.js v20.15.1
    PS C:\Users\momin\Desktop\New folder\githubProfileChecker>
    "

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

    Hello, I have a problem
    In the version I am working on, there are additional files such as
    tsconfig.app.json
    I created a file
    jsconfig.app.json
    in the same style explained in the video
    But the problem is that there is a file that I did not find with what to fill in:
    "path": "./tsconfig.node.json"
    Note: This line is in jsconfig.json and there is no file to link it to

  • @navvi5108
    @navvi5108 15 дней назад

    2:14 if u getting error use "npm install"

  • @thefastest5997
    @thefastest5997 3 месяца назад +1

    Thank You!!!

    • @Devtamin
      @Devtamin  3 месяца назад +1

      You're welcome

  • @Aryan-p2e4z
    @Aryan-p2e4z 3 месяца назад +1

    hii, what vs code theme you are using?

    • @Devtamin
      @Devtamin  3 месяца назад

      I use Mater Icon Theme

  • @douglastitze1338
    @douglastitze1338 23 дня назад

    Some changes need to be made to work now but still a good tutorial

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

      Can you share the changes?

  • @quoclam7140
    @quoclam7140 11 месяцев назад +1

    Can you make a video of installing shadcn with cra and no typescript? I’m working on a codebase that has those

    • @Devtamin
      @Devtamin  11 месяцев назад +1

      Sorry, I don't recommend using create-react-app anymore

  • @jasonsutis3387
    @jasonsutis3387 3 месяца назад +1

    Ty - i tried to figure this out for.....wayyyyy too long and was unable to get the imports correct (or something idk wow)

  • @StaceyLust
    @StaceyLust 5 месяцев назад

    was using latest version of node and was getting a ERR_MODULE_NOT _FOUND everytime i ran the npx shadcn-ui@latest init
    i then switched to node v18.40.2 lts cuz ppl said it solved thiers but it still shows an error, any fix ?

  • @adityashrestha2774
    @adityashrestha2774 8 месяцев назад +1

    most components use typescript though?

    • @Devtamin
      @Devtamin  8 месяцев назад

      You're right. Most people ask me to do it video.

  • @harishpadi5508
    @harishpadi5508 4 месяца назад

    Good Info

  • @salehdz3399
    @salehdz3399 6 месяцев назад

    if i using react without vite i need to following the same steps for vite ?

  • @amitodak
    @amitodak 11 месяцев назад +1

    hi, can you show how to install tailwind css in nextjs app router with typescript and vite. thank you!

    • @Devtamin
      @Devtamin  10 месяцев назад

      I put it on my list

  • @okiefegift9006
    @okiefegift9006 4 месяца назад

    very useful

  • @imdefnotash
    @imdefnotash 10 месяцев назад +1

    it's working but i guess mine's broken it's half way there.. i think the css is not applied properly

    • @Devtamin
      @Devtamin  10 месяцев назад

      let's share a solution if you figure it out

    • @wakandagaming5763
      @wakandagaming5763 9 месяцев назад

      just import u'r global css bruh import "./style/global.css";

  • @ExpoDev_Dash
    @ExpoDev_Dash 7 месяцев назад +1

    hey, I am not using vite. will this still work ? I dont have a vite config file

    • @Devtamin
      @Devtamin  6 месяцев назад

      Nope

    • @ExpoDev_Dash
      @ExpoDev_Dash 6 месяцев назад

      @@Devtamin yeah.. i had to do manual install

  • @raffph
    @raffph 11 месяцев назад +1

    thanks bro

    • @Devtamin
      @Devtamin  11 месяцев назад

      No problem

  • @hungvuong48
    @hungvuong48 11 месяцев назад +1

    I have a problem with a dialog in extensions, it can't open

    • @Devtamin
      @Devtamin  11 месяцев назад

      what is the dialog?

  • @StaceyLust
    @StaceyLust 5 месяцев назад +1

    the docs have been updated plsss can you do another video
    like im having random typo errors in my jsconfig.json and jsconfig.app.json
    and its from the docs

    • @Devtamin
      @Devtamin  5 месяцев назад

      I'll check it out

  • @SAJIDALAM-pj6dp
    @SAJIDALAM-pj6dp 6 месяцев назад

    Failed to load jsconfig.json. Couldn't find tsconfig.json after all the step comlet in the last enter it give me that error can u give me a solution

  • @Yesterday_i_ate_rat
    @Yesterday_i_ate_rat 11 месяцев назад +1

    Thanks

  • @souljabroable
    @souljabroable 2 месяца назад +1

    You failed to add this in global css which lead to a lot of confusion
    @tailwind base;
    @tailwind components;
    @tailwind utilities;

    • @Devtamin
      @Devtamin  2 месяца назад +1

      Thank you for sharing

  • @rafiamalik993
    @rafiamalik993 4 месяца назад +1

    Thanks

    • @Devtamin
      @Devtamin  4 месяца назад

      You're welcome

  • @Marshal-786
    @Marshal-786 5 месяцев назад

    thanx buddy

  • @abedalraoufzeidan1461
    @abedalraoufzeidan1461 5 месяцев назад

    Thank you

    • @Devtamin
      @Devtamin  4 месяца назад

      You're welcome

  • @ZeshanMukhtar1
    @ZeshanMukhtar1 4 месяца назад

    love from Pakistan

  • @rafiamalik993
    @rafiamalik993 4 месяца назад +1

  • @MrMe-xs9gq
    @MrMe-xs9gq 6 месяцев назад

    thanks man

  • @sebastianriquelme1
    @sebastianriquelme1 8 месяцев назад +1

    Crack!

  • @rotes3106
    @rotes3106 11 месяцев назад +1

    Thanks brother. But, somehow my tailwindcss is not working after installing shadcn

    • @Devtamin
      @Devtamin  11 месяцев назад

      What happened?

    • @pedrofigueirinha5325
      @pedrofigueirinha5325 10 месяцев назад

      @@Devtamin for me the button is at middle of the page and so is the div
      The tailwind.config.js file has a bunch of code using module.exports = ... where module is not defined and at the end has plugins: [require("tailwindcss-animate")], where require() is not defined. Also, in the button component, every prop is triggering the error propName' is missing in props validation. In the vite.config.js in the alias _dirname is not defined.

    • @wakandagaming5763
      @wakandagaming5763 9 месяцев назад

      just import u'r global css bruh import "./style/global.css";

    • @arochacarlstephen
      @arochacarlstephen 8 месяцев назад

      @@wakandagaming5763 where do I input that?

    • @wakandagaming5763
      @wakandagaming5763 8 месяцев назад

      @@arochacarlstephen import your css file bro import from "your css Path"

  • @ovna
    @ovna 8 месяцев назад +1

    ty

    • @Devtamin
      @Devtamin  8 месяцев назад

      Thank you for a comment

  • @sabawoonsediqi514
    @sabawoonsediqi514 5 месяцев назад

    node:internal/modules/run_main:129
    triggerUncaughtException(
    ^
    Error: Cannot find package 'C:\Users\omari\AppData\Local
    pm-cache\_npx\125ee17d583c4e03
    ode_modules
    pm-run-path
    ode_modules\path-key\package.json' imported from C:\Users\omari\AppData\Local
    pm-cache\_npx\125ee17d583c4e03
    ode_modules
    pm-run-path\index.js
    Did you mean to import "path-key/index.js"?
    at legacyMainResolve (node:internal/modules/esm/resolve:215:26)
    at packageResolve (node:internal/modules/esm/resolve:841:14)
    at moduleResolve (node:internal/modules/esm/resolve:927:18)
    at defaultResolve (node:internal/modules/esm/resolve:1157:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38)
    at ModuleWrap. (node:internal/modules/esm/module_job:87:39)
    at link (node:internal/modules/esm/module_job:86:36) {
    code: 'ERR_MODULE_NOT_FOUND'
    }
    this error is given to me when I am trying to install packages.
    please provide a solution for this error!
    regards

    • @dhanrajshetty645
      @dhanrajshetty645 5 месяцев назад

      same error did u get a solution for this?

    • @dhanrajshetty645
      @dhanrajshetty645 5 месяцев назад

      hey i found the solution
      1 run this npm install shadcn-ui@latest
      2 run this npx shadcn-ui@latest init

  • @arambp77
    @arambp77 10 месяцев назад +1

    I fucking love you dude

    • @Devtamin
      @Devtamin  10 месяцев назад

      Glad it was helpful!

  • @theallrounder-uttkarshkesh679
    @theallrounder-uttkarshkesh679 Месяц назад

    if you see error like this : - plugins: [require("tailwindcss-animate")] , then you only need to rename the "tailwind.config.js" file to "tailwind.config.cjs"

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

      Thank you for sharing

  • @durgfestivalvibes
    @durgfestivalvibes 10 месяцев назад +1

    Are u on twitter bro?
    Would follow u there

  • @mishra4291
    @mishra4291 6 месяцев назад +1

    thanks bro

  • @nekokaitogamer
    @nekokaitogamer 7 месяцев назад

    Thanks a lot

    • @Devtamin
      @Devtamin  6 месяцев назад

      Most welcome

  • @vladimirfilipovic5845
    @vladimirfilipovic5845 8 месяцев назад +1

    Thanks