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?
6 Replies
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.
Yeah I have tried following that with no luck
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?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
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 🤷♂️Its weird I restarted my computer and its working now. Thanks for your help