W
Waspβ€’11mo ago
wambofabio

How to install shadcn ui

Hey everyone! I absolutely love Wasp, but I have troubles installing shadcn ui properly. I could not find any docs online that would describe me how to do it without being able to use "npx". I have added the dependency in wasp.main, but it does not work. Thanks for you help in explaining me how I can import components from external libraries. Thanks a lot in advance for your support!
Solution:
Gist
Using ShadCN with Wasp 0.12+
Using ShadCN with Wasp 0.12+. GitHub Gist: instantly share code, notes, and snippets.
Jump to solution
17 Replies
matijash
matijashβ€’11mo ago
I think @martinsos @miho and @Filip will know the most here πŸ™‚
miho
mihoβ€’11mo ago
I've tried before to install Shadcn but with no luck 😦 I think with 0.12 things will change, but in 0.11.8 I haven't been able to set it up
wambofabio
wambofabioOPβ€’11mo ago
thanks for your response, Matija and Miho. sad to hear that it is currently not possible... would speed up development significantly. Have you made good experiences with other component libraries, @miho ?
miho
mihoβ€’11mo ago
We had luck with NextUI, Chakra UI and many others, maybe @Vinny (@Wasp) can chime in
Vinny (@Wasp)
Vinny (@Wasp)β€’11mo ago
yeah Chakra UI is my fav of the bunch
wambofabio
wambofabioOPβ€’11mo ago
ok great! Thank you a lot, will try out Chakra UI then. Thanks for your support!
matijash
matijashβ€’11mo ago
@wambofabio check out the source code of https://coverlettergpt.xyz/ for a fast start with Chakra UI: https://github.com/vincanger/coverlettergpt
CoverLetterGPT
Create Unique Cover Letters Based on Your Skills using GPT. Supercharge Your Job Search.
GitHub
GitHub - vincanger/coverlettergpt: Generate Cover Letters based on ...
Generate Cover Letters based on Job Description and your ResumΓ©. Manage jobs and applications. Get Hired. Have fun. Be cool. Go to School. - GitHub - vincanger/coverlettergpt: Generate Cover Letter...
matijash
matijashβ€’11mo ago
GitHub
GitHub - matijaSos/reflect-daily: Daily reflection app. Get 1% bett...
Daily reflection app. Get 1% better every day. Contribute to matijaSos/reflect-daily development by creating an account on GitHub.
wambofabio
wambofabioOPβ€’11mo ago
Thanks a lot, will have a look!
Boris
Borisβ€’11mo ago
@wambofabio shouldn't the manual installation work? https://ui.shadcn.com/docs/installation/manual NPX is basically copy-pasting this configuration for you
Manual Installation
Add dependencies to your project manually.
martinsos
martinsosβ€’11mo ago
@miho forgot to mention, but important fact is also that Wasp v0.12 is coming out very soon, in a matter of days (next week latest), so if you really want to use chadcn it might be worth the wait. Although this is interesting what Boris says also, this looks like it might work. @miho have you tried this?
Kamalito
Kamalitoβ€’10mo ago
Hi. Any news about how to setup Shadcn UI with Wasp v0.2?
miho
mihoβ€’10mo ago
Wasp 0.12 * and yes πŸ™‚ it's now possible to do with some manual interventions but it works for me. Let me create a small gist with the instructions and I'll share it here πŸ˜„
Kamalito
Kamalitoβ€’10mo ago
Awesome, thank you.
Solution
miho
mihoβ€’10mo ago
Gist
Using ShadCN with Wasp 0.12+
Using ShadCN with Wasp 0.12+. GitHub Gist: instantly share code, notes, and snippets.
Kamalito
Kamalitoβ€’10mo ago
That was quick. Thank you so much πŸ˜‰
MEE6
MEE6β€’10mo ago
Wohooo @Kamalito, you just became a Waspeteer level 1!
Want results from more Discord servers?
Add your server