|
3 年之前 | |
---|---|---|
.. | ||
examples | 3 年之前 | |
src | 3 年之前 | |
tests | 3 年之前 | |
.gitignore | 3 年之前 | |
CHANGELOG.md | 3 年之前 | |
Cargo.toml | 3 年之前 | |
Makefile.toml | 3 年之前 | |
README.md | 3 年之前 | |
usage.md | 3 年之前 | |
webdriver.json | 3 年之前 |
Dioxus Router is a first-party Router for all your Dioxus Apps. It provides a React-Router style interface that works anywhere: across the browser, SSR, and natively.
fn app() {
cx.render(rsx! {
Router {
Route { to: "/", Component {} },
Route { to: "/blog", Blog {} },
Route { to: "/blog/:id", BlogPost {} },
}
})
}