ui icon indicating copy to clipboard operation
ui copied to clipboard

question(cli): override component installation path

Open dan5py opened this issue 2 years ago • 2 comments

@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?

dan5py avatar Jun 23 '23 21:06 dan5py

I think this is a duplicate of #1156. shadcn has started looking into it.

tony19 avatar Dec 25 '23 22:12 tony19

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/

victormicco avatar Feb 07 '24 19:02 victormicco

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.

shadcn avatar Jun 22 '24 23:06 shadcn