Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add custom registry support #1027

Open
1 of 2 tasks
Ben-Vollrath opened this issue Feb 3, 2025 · 3 comments
Open
1 of 2 tasks

[Feature]: Add custom registry support #1027

Ben-Vollrath opened this issue Feb 3, 2025 · 3 comments

Comments

@Ben-Vollrath
Copy link

Ben-Vollrath commented Feb 3, 2025

Describe the feature

Add support for custom registries like shadcn main (https://ui.shadcn.com/docs/registry)

Use case:
Custom registries that follow the shadcn philosophy can be added, providing more value for the vue ecosystem.

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.
@unrevised6419
Copy link

unrevised6419 commented Feb 5, 2025

It would be even cooler if the teams (React/Vue) agreed on some unified shadcn cli, that in the future could be used with any library/framework.

@Ben-Vollrath
Copy link
Author

I have been working on this here.
My current version allows setting a custom registry base url, which would in turn use a completly different registry for everything.

Another solution I could think of would be allowing to pass a url to a single component in a different registry while still using the shadcn base registry for colors and base components.

TLDR:
Approach 1: support parallel registries to Shadcn-vue with custom registries

Approach 2: support building on top of Shadcn-vue with custom registries

I prefer Approach 2, but I would appreciate some feedback!

@ieedan
Copy link

ieedan commented Feb 19, 2025

It would be even cooler if the teams (React/Vue) agreed on some unified shadcn cli, that in the future could be used with any library/framework.

Over the last few months I have been working on jsrepo it allows you to use React, Vue, Svelte and more without having to manually configure a json file like you have to do at the moment with custom shadcn registries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants