S
Solara12mo ago
jy247

Having some issues with children in routing

Hi, I can't get children to work. I have a small example here https://github.com/jy247/solara_experiment I'm using routes that look like these. routes = [ # route level == 0 solara.Route(path="/", component=HomeComponent), # matches empty path '' solara.Route( # route level == 1 path="a", component=ACom, children=[ # route level == 2 solara.Route(path="/", component=ACom), solara.Route(path="b", component=BCom) ], ) ] when I got to url: http://localhost:8765/a/b I am expecting to see BCom, but I see ACom. What am I missing? Grateful for any help. thanks Jack
GitHub
GitHub - jy247/solara_experiment
Contribute to jy247/solara_experiment development by creating an account on GitHub.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server