Replies: 1 comment 6 replies
-
I think the router is what you want. API docs: https://docs.rs/yew-router/0.14.0/yew_router/ |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I've spent all of 12 hours collectively learning about rust and yew, as I'm trying to get a handle on web assembly (so if this question has already been asked/answered my apologies, I couldn't find it in GitHub or the docs easily.
I'm trying to see if I can setup routing by convention for pages similar so what you would see in Vue or .NET razor pages where there's a base "pages" folder and each sub folder and named file becomes a route without having to setup a routing table directly, or even if there could be an attribute or trait you place in the page.rs which could define routes with the page rather than have one file. Is that something that exists currently?
Beta Was this translation helpful? Give feedback.
All reactions