Closed EducatedAI-kaisera closed 1 year ago
Made some progress with renaming shadcn component.json file. I've tried using playground example, I just can't around this runtime error:
Unhandled Runtime Error
Error: Tooltip
must be used within TooltipProvider
Description
I can't seem to install with Shadcn components already in project. Keeps saying: "Invalid configuration found in components.json" and won't init. What I am missing to make this work?
Funding
- You can sponsor this specific effort via a Polar.sh pledge below
- We receive the pledge once the issue is completed & verified
I have same problem instal plate ui with shadcn
What is your components.json
value? https://platejs.org/docs/components/components-json
Hi! @EducatedAI-kaisera try remove "tsx": true from components.json @zbeyens and why can cli not see components that were installed with shad cli?
@Pavelkovo The cli installs in plate-ui
folder, while shadcn installs in ui
folder. They're completely separated. A few Plate components are using shadcn components like Button, with minor changes. So you would end up having a button
filed in plate-ui
and one in ui
, which should not be an issue.
Patching it, thanks for all your inputs!
Description
I can't seem to install with Shadcn components already in project. Keeps saying: "Invalid configuration found in components.json" and won't init. What I am missing to make this work?
Funding