Component development #2471
vnermolaev
started this conversation in
General
Replies: 2 comments
-
If you are using manganis to include styles and assets, everything should work automatically when you publish it just like a normal crate. The dioxus CLI looks in dependencies for any assets they use automatically |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey, thanks for the reply. I was able to include all the custom assets and use them in a dependent crate. However, I struggled to integrate Tailwind styles using |
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
-
Hi everyone,
I have developed a UI component using Dioxus, and I am looking to open-source it as a crate. The component includes custom CSS, assets managed by Manganis, and utilizes Tailwind CSS for styling. Unfortunately, I haven't been able to find clear instructions or guidelines on how to package and publish a Dioxus component with these dependencies.
I did find a library with Dioxus components here, but it appears to be unmaintained, and it doesn't cover the specifics of managing custom CSS, assets, and Tailwind CSS.
Here are some specific questions I have:
Any guidance or examples would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions