Adrian Wannenmacher 85ac35c198 update default external navigation failure component 2 лет назад
..
examples 3d752e31ec add a fixed route to example 2 лет назад
src 85ac35c198 update default external navigation failure component 2 лет назад
.gitignore e04a6d63a5 chore: move tests out of core and into the top level crate 3 лет назад
CHANGELOG.md 56f3002aed feat: add changelogs 3 лет назад
Cargo.toml ef76453422 fix release build 2 лет назад
Makefile.toml bd565bb65f improve Makefile tests 3 лет назад
README.md 8346525db5 Update README.md 3 лет назад
webdriver.json ee49fc27ff fix some newlines 3 лет назад

README.md

Dioxus Router

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 {} },
        }
    })
}

Resources

  • See the mdbook
  • See the one-page brief
  • See the guide on the doc site
  • The crates.io API