Replies: 2 comments 9 replies
-
One thing you might want to try right off the bat is At the moment this works slightly better if you're running |
Beta Was this translation helpful? Give feedback.
-
I was originally on:
I tried running the latest stable releases too ( CleanShot.2023-07-09.at.19.09.07.mp4 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have had a love a first sight experience with Leptos. The concepts, the way it is being built, and the community around it are all individually wonderful and make for a wonderful whole! I was really excited to see there being Tailwind support built right into cargo-leptos too!
I have spent years working with other framework, ranging from rails, phoenix (with elixir) and creating react apps in F# with Fable and frontends with Svelte. Having a quick turnaround time from making edits in my editor to seeing the changes reflected in the browser is something I have come to rely quite heavily on - particularly when working with Tailwind where I tend to make a lot of small incremental changes, seeing if the results are as I would like them to be.
I would love to learn what your workflow is when it comes to building and designing with Tailwind when using Leptos.
In the app I am currently building it takes around 5 seconds before any change made to a component is reflected in the interface. This is quite frustrating, particularly so since I, still new to Leptos, often make mistakes and then stare at the browser in vain looking for my changes to appear, wondering if the change I made was invalid, I accidentally edited the wrong file, or whether I just accidentally broke the build. As a result I have come to rely on having a secondary sveltekit app on the side where I create and prototype my components, but that feels rather cumbersome and forces me to do a lot of copying and pasting, and spending time keeping two distinct apps in sync, only one of which is ever meant to see the light of day. Do you have a similar workflow, or do you see entirely different refresh times (i.e. is my setup broken? (I am currently using the latest version from the
main
branch on a modern MacBook Pro so am used to most things being fast))The hot-reload experience in Dioxus is quite amazing actually. I imagine the underlying technology might be quite different, but I am hoping against hopes that something similar is in the future for Leptos too!
Looking forward to learning more!
Beta Was this translation helpful? Give feedback.
All reactions