You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are hosting our own shadcn components over at React Flow, which arguably is a little different from other general purpose components built with the shadcn cli. (it sometimes requires an additional step after installing the package to wire it up with React Flow or use it in the correct context).
Anyway, working in a bigger project with all kinds of shadcn and React Flow components, things get cluttered pretty fast as everything added through the shadcn add just lands (more or less) in the same folder. I saw that there is a target property but it get's only respected for files and pages...
It would be cool to just define a folder where components from a specific registry end up in. Even cooler would be the ability to define aliases in the components.json for certain registries.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are hosting our own shadcn components over at React Flow, which arguably is a little different from other general purpose components built with the shadcn cli. (it sometimes requires an additional step after installing the package to wire it up with React Flow or use it in the correct context).
Anyway, working in a bigger project with all kinds of shadcn and React Flow components, things get cluttered pretty fast as everything added through the
shadcn add
just lands (more or less) in the same folder. I saw that there is a target property but it get's only respected for files and pages...It would be cool to just define a folder where components from a specific registry end up in. Even cooler would be the ability to define aliases in the components.json for certain registries.
Beta Was this translation helpful? Give feedback.
All reactions