start-embeded-assets template #4660
JosiahParry
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
What do you mean, "How to keep state"? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
One of the challenges I have when using leptos is that assets are not bundled into the binary. The challege always arises when taking the compiled asset and getting it on the production VM. The asset routes get messed up quite easily!
I use
rust_embedin one project. But setting it up in another is quite tough! It's multiple hours of work (for me at least).While there is the island example
leptos/examples/hackernews_islands_axum/src/fallback.rs
Line 6 in 9654f82
it doesn't show how to keep state.
I think it would be great to have a template that can help for this common use case
Beta Was this translation helpful? Give feedback.
All reactions