Replies: 1 comment
-
|
The tracking issue for that is #154 (although it doesn't have much information) So this is something we'd like to have and we are thinking about it. One way would be to use crates.io. But yeah, being able to do |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Are there any plans on providing a way to share and consume reusable slint libraries? Kind of like
cargoorpip?I'm opening this discussion, as I've not seen it anywhere else.
Right now, for example,
material-componentsis distributed via azipfile.I'm no expert on this topic, I've compiled a list of options to evaluate, feel free to add more:
Use a cli to pull components
Like shadcn, as proposed in #9761
In this case, there would be a cli, that you can
initand creates a config to easily set-up components, see cli. I'm not sure about the security implications of doing this.Package manager with registry
This would involve a central repository, where people can push and pull, like
npm(npmjs.com),cargo(crates.io) orpip(pypi)Decentralized package manager
This is another take, similar to go modules or deno.
The advantage is that no infra is required, the downside is that requires tooling, and maybe some slint settings.
It would be awesome to be able to do something like this:
Extra considerations
slintfiles in principle looks doable, but what about behavior happening in rust (or even other language)?Beta Was this translation helpful? Give feedback.
All reactions