Jonathan Kelley 7e45f2aa04 feat: add scroll to 0 for web router 2 năm trước cách đây
..
examples 5c20e651da fix: get rollover working 2 năm trước cách đây
src 7e45f2aa04 feat: add scroll to 0 for web router 2 năm trước cách đây
tests e6920e9b34 chore: fix web 2 năm trước cách đây
.gitignore e04a6d63a5 chore: move tests out of core and into the top level crate 3 năm trước cách đây
CHANGELOG.md 56f3002aed feat: add changelogs 3 năm trước cách đây
Cargo.toml 79e786aca5 chore: convert to logs 2 năm trước cách đây
Makefile.toml bd565bb65f improve Makefile tests 3 năm trước cách đây
README.md 8346525db5 Update README.md 3 năm trước cách đây
usage.md 4eefc3f854 chore: rename all &cx to cx, make clipppy happy 2 năm trước cách đây
webdriver.json ee49fc27ff fix some newlines 3 năm trước cách đây

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