Registry file target path not resolving relative paths using component.json aliases #8553
Unanswered
gihanrangana
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried adding a custom target path in my registry file for a component that includes multiple files. However, the target path is being created from the project root instead of within the Shadcn-configured components directory.
this is how my aliases are looks like on
components.jsonthe component registry
targetpath is looks like this{ "path": "registry/new-york/components/datetimepicker/datetimepicker.tsx", "type": "registry:ui", "target": "datetimepicker/datetimepicker.tsx" }but this will create the folder on root of the project. how can i fix it? is it the path issue or a cli issue?
Beta Was this translation helpful? Give feedback.
All reactions