Replies: 1 comment
-
https://github.com/mrzachnugent/react-native-reusables/tree/main/packages/cli |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Right now, we have to clone the repository to get the components, instead we can have a cli similar to what the original project has.
I looked into how
shadcn-ui
cli works.The way how it works is like this:
Content of the registy:
https://ui.shadcn.com/registry
The type of the component, is necessary in our case because we will need some hooks etc. we can call it "lib:hooks", or something like this as components dependencies.
We can have a second repository to keep this json list. The original source code for the cli is found at https://github.com/shadcn-ui/ui/blob/main/packages/cli/src/index.ts
Beta Was this translation helpful? Give feedback.
All reactions