ui
ui copied to clipboard
Allow to capitalize/pick name of file prior to installation
basically this is a small issue that I face when I'm trying to create my components, basically the idea is to have them capitilized (that is how I create my components in the past with the manual installation).
so for example when you run npx shadcn-ui@latest add something
you will get a file under ui/something.tsx
but what if you are used to create components like ui/Something.tsx
we should add a configuration under the components.json
file in order to watch for this and when installing the component it should be created with that name.
another related thing is about the imports, currently we import import * as X from "XXXX"
right? is this optimal? should we change it to import { a, b, c, d} from 'XXXX'
?
+1
Workaround: https://github.com/shadcn-ui/ui/pull/774#issuecomment-1925431580
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.