Mutate added shadcn/ui component #1714
Idan-Garay
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm currently using a file structuring where each component has its own folder and a barrel export (index.ts) e.g.:
/toast
/toast/index.ts
/toast/toast.tsx
Is there a way to modify or mutate: 'npx shadcn-ui@latest add' command so it would output a folder instead of a file?
e.g.:
input: npx shadcn-ui@latest add button
output:
button/index.ts
button/button.tsx
Beta Was this translation helpful? Give feedback.
All reactions