create the folder with name jsconfig.json, also make sure to follow the shadcn installation guide for js -- you need to set the tsx flag as false in components.json file
The only good usage for shadcn in my oppionon is quick prototype. And this is what is done by vercel v0 and Claue AI which use shadcn. Using this copy pase approach of shadcn seem a nightmare for production
very help full and to the point but i am getting a typescript error that says it cannot find module '@/components/us/button' or its corresponding type declarations. ts(2307) on my App.tsx if i can get some help
If you seeing issues related to tailwind, follow the steps here to fix it! github.com/shadcn-ui/ui/issues/4677#issuecomment-2323515224
If I used vite but with only javscript not typescript, and I dont see the tsconfig.json file, what I supposed to do?
Did u get the solution? I am also having the same problem
@@aryanhegde9836 me too. Did anyone figure it out?
you need to make jsconfig.json instead and it will work @@aryanhegde9836
create the folder with name jsconfig.json, also make sure to follow the shadcn installation guide for js -- you need to set the tsx flag as false in components.json file
I created a new video showing how to do it using JavaScript instead of TypeScript:
th-cam.com/video/vGiYuaquCo4/w-d-xo.html
great video andy, and could you show how to customize the installed components thank you.
Hey @Peacemaker.404, I will consider this for future videos!
Great video thank you
Hey @Senaszje! You’re welcome! Glad you found this tutorial helpful!
The only good usage for shadcn in my oppionon is quick prototype. And this is what is done by vercel v0 and Claue AI which use shadcn.
Using this copy pase approach of shadcn seem a nightmare for production
very help full and to the point but i am getting a typescript error that says it cannot find module '@/components/us/button' or its corresponding type declarations. ts(2307) on my App.tsx if i can get some help
it should be /ui/button?