-
Maybe there is something easy to specifically do this and I couldn't find it. The page looks like this:
There are 2 routes that are important here:
When going with a Now there is a way (button) to either save what's in the workspace, where we start out at There is also a way that goes in return, a delete button. Here we go from a All the route changes should of course only occur if the server function does not error. I apologize for the lengthy explanation, but I'm not sure how else to convey what I'm looking for. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Here's an example of how to use leptos/examples/router/src/lib.rs Lines 195 to 210 in 39edb6e |
Beta Was this translation helpful? Give feedback.
-
Please include the use of use_navigate in the official documentation, this function is widely used |
Beta Was this translation helpful? Give feedback.
Here's an example of how to use
use_navigate
to navigate programmatically. I think theuse_navigate
docs and this example should be plenty to get started on what you're trying to do but feel free to ask if you need more help.leptos/examples/router/src/lib.rs
Lines 195 to 210 in 39edb6e