W
Wasp-lang8mo ago
g0053

has anyone got shadcn to work with wasp? I am trying but keep getting an error

Attached is the error I am currently getting. Just wondering if anyone has had success with it?
No description
6 Replies
Fecony
Fecony8mo ago
Hey @miho recently shared this snippet on how to use shadcn with wasp https://gist.github.com/infomiho/b35e9366e16913949e13eaba0538f553
Gist
Using ShadCN with Wasp 0.12+
Using ShadCN with Wasp 0.12+. GitHub Gist: instantly share code, notes, and snippets.
g0053
g0053OP8mo ago
Yeah I have tried following that with no luck
miho
miho8mo ago
You'll need to provide us with more info to be able to help you 😄 - What did you try to do? - At which step does it fail? - Which version of Wasp are you using? wasp version - What kind of app are you running? Open SaaS? Something generated with Mage?
g0053
g0053OP8mo ago
So it’s when I run wasp start and try to open a page I get the error in the image. I am running wasp 13. I am running with open saas
miho
miho8mo ago
Did you do the steps in the gist? Modify all the files and imports as described? 1. Creating a new app from the saas template 2. Following the gist 3. I was able to import a <Button> component and it worked for 🤷‍♂️
g0053
g0053OP8mo ago
Its weird I restarted my computer and its working now. Thanks for your help
Want results from more Discord servers?
Add your server