-
I am trying to provide CMS-like routing like:
My current solutionWhile ideally, I would prefer to check user pages first I managed to make a working example based on Leptos's examples where:
It would be great if I could do it in the following order:
The Axum group could be a better place to ask this question, but in relation to Leptos, how can I pass the custom state to the fallback if I continue with my working solution? Right now |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks to the Axum team's I managed to make a solution that seems works well so far:
The only thing I would've wanted to be able to do is to move
Also, I was able to pass custom state like so:
|
Beta Was this translation helpful? Give feedback.
Thanks to the Axum team's I managed to make a solution that seems works well so far:
The only thing I would've wanted to be able to do is to move
pkg
path under the/admin
but was not able to find the right configuration. With the configuration below I am able to build wasm, js, and CSS in the right folder and I can serve CSS from it, wasm and js files still will have uri/pkg/bundle.js
ins…