Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
347 views

I've been trying to install cargo-leptos on my machine. I've installed it without issues on another machine before (also windows) but now I'm running into some issues. When I run cargo install --...
eliaxelang007's user avatar
1 vote
2 answers
196 views

I am using leptos to build a web application. I want to do what is mentioned in this answer: https://stackoverflow.com/a/45037551/6938024 function shake() { var box = document.getElementById("...
mario.b's user avatar
  • 339
1 vote
1 answer
98 views

Hello I am implementing a Rust application with Leptos. I am experimenting a lot, and learning at the same time, so I am doing things that probably are not the best, but I want to solve problems I see....
Daniel Hornik's user avatar
3 votes
1 answer
618 views

I am struggling quite a bit with understanding how to upload a multipart file in leptos. Here is where I am at right now let on_file_input = move |ev| { log!("file input"); ...
munHunger's user avatar
  • 3,117
0 votes
1 answer
224 views

In rust Leptos framework, attributes can be defined as follows. Syntax is <attribute>:<class_name>=<boolean> If the boolean is true, class name will be added to the existing list. ...
s1n7ax's user avatar
  • 3,159
2 votes
1 answer
697 views

currently i'm typing leptosfmt . each time i want to format the html within the view!{} macro. I'd like to automate this on save or whenever rustfmt runs. I tried adding a rustfmt section to my Zed ...
Rusty Rob's user avatar
  • 17.3k
1 vote
1 answer
937 views

I have tauri command on backend(tauri) that returns a string(light theme value from windows registry). I need to get it on frontend + listen if this string changes. I couldn't find needed functions in ...
Grayza's user avatar
  • 421
1 vote
1 answer
323 views

I'm trying to configure leptosfmt to work with Lunarvim, so that I can format my view! macros on save. I've not yet found a clean working solution. Here's what I've found and tried: Based on the ...
WVAviator's user avatar
  • 143
0 votes
1 answer
120 views

For the project I want the verification code part of the sign up stepper to have each number separated into small boxes and when pasted the code will be pasted into each individual box. The problem is ...
Jehu Domenech's user avatar
1 vote
0 answers
421 views

I have a grid that has x * y number of inputs (that also can change over time). I want to have NodeRefs (since I only need to read the values on submit() of the form.) My Idea was a Vec<Vec<...
Noel Huibers's user avatar
0 votes
1 answer
980 views

I'm trying to PGP encrypt a string client side when user clicks on a button and this seems to be super slow. First when running in debug/dev mode with trunk serve --open it takes ages for the page to ...
daniels's user avatar
  • 19.4k
3 votes
1 answer
3k views

I try to work with axum and leptos on a fullstack app I am trying to use a server shared resource with SSR leptos handlers, which usually would be an AppState struct added to the router with ...
g4borg's user avatar
  • 116
0 votes
2 answers
901 views

I have an async action which alters data in an external api (POST request). When the request has finished, then I need to refetch data from this api, in order to reflect the changes in the view. But ...
yolenoyer's user avatar
  • 9,597
0 votes
1 answer
1k views

I stared to experiment with https://github.com/gbj/leptos/ using the current main branch from Git. Following the router example I get the following warning in my console in the browser: WARNING: You ...
Achim's user avatar
  • 15.7k