-
Notifications
You must be signed in to change notification settings - Fork 349
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]: Preprocess and host JS components #378
Comments
Instead of adding yet another sets of When WDYT @sadeghbarati ? |
That would be great 💯 |
Why creating a branch/(auto-)PR mechanism when you could simply update the |
The reason im suggesting above is that there's tooooo many files inside the current repo now. It makes navigation harder, and might put heavy loads on vscode when developing. 😂 |
As long as it ends up making JS files available through an endpoint, I'm fine with any method! |
Describe the feature
Similar to what has been made on shadcn-svelte (huntabyte/shadcn-svelte#715), it would be great to create a "server-hosted" version of the components, available from a registry endpoint (
/registry/styles/xxx-js/component.json
).This would help for 2 things: avoid additional client-side computing for each JS component downloaded, as well as unlock that JS-components feature for my shadcn IntelliJ plugin. (Transpiling Vue TS files from a Java-like codebase is not an easy task, and i would prefer avoiding that heavy task for the Vue shadcn port only)
It shouldn’t require much work here as it’s pretty much a copy-paste from the Svelte version. What do you think about it?
Additional information
The text was updated successfully, but these errors were encountered: