ui
ui copied to clipboard
question(cli): override component installation path
@shadcn The add command accept the --path argument to override the component installation path but it doesn't work for items with the components:ui type. In the previous version the cli asked for the installation path, but now is forced to the ui subfolder.
https://github.com/shadcn/ui/blob/aea12e97623699e7c7b2d75fc671ea21b0cf8887/packages/cli/src/utils/registry/index.ts#L115-L123
Is this required or not?
I think this is a duplicate of #1156. shadcn has started looking into it.
Right now, the shadcn has a specific folder to install their components, so u gotta adapt your folder structure to receive shadcn components without any problem, in the shadcn installation u can remake your folder structure just pressing "y" on a step. But to solve your doubt you should visit https://ui.shadcn.com/
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.