ui icon indicating copy to clipboard operation
ui copied to clipboard

CLI always puts components in components/ui

Open artemis-prime opened this issue 1 year ago • 1 comments

This should be a question along with the others in the installer code. Assuming /ui forces a certain tree structures that may not be how a dev prefers things.

artemis-prime avatar Oct 22 '23 19:10 artemis-prime

The ui part is hardcoded for now. It's on the roadmap to make this configurable. As a workaround for now, you can pass in a --path like this:

npx shadcn-ui@latest add button --path=components/foo/bar

shadcn avatar Oct 23 '23 06:10 shadcn

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 Feb 14 '24 23:02 shadcn