-
Hi, I'm a newbie for yew. I am studying and developing front-end with yew and there is a problem that sticks in my mind. I have a App Component which is a main page ( localhost:8080/ ) and there are one login button and input. I don't know how to do it. Please help me.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I had a similar question a while back. I suspect you need a |
Beta Was this translation helpful? Give feedback.
-
Thank you it was helpful. I implemented exaclty what i want. Full code
|
Beta Was this translation helpful? Give feedback.
I had a similar question a while back. I suspect you need a
<BrowserRouter>
.There is an example in the docs for https://docs.rs/yew-router/latest/yew_router
Here is what I did - https://github.com/jq170727/change_yew_route_from_js/blob/main/src/main.rs#L70