Jonathan Kelley e04a6d63a5 chore: move tests out of core and into the top level crate преди 3 години
..
examples 4a3680ee1b chore: remove all warnings преди 3 години
src 916dc64402 style: format againkjdfakbjfbkasjd преди 3 години
tests f1865faef7 setup done, local tests work, check workflow преди 3 години
.gitignore e04a6d63a5 chore: move tests out of core and into the top level crate преди 3 години
CHANGELOG.md 56f3002aed feat: add changelogs преди 3 години
Cargo.toml 3873cd1a60 fix: remove unused depds преди 3 години
Makefile.toml bd565bb65f improve Makefile tests преди 3 години
README.md 46a42c5ef9 Docs: update readme and usage doc for router преди 3 години
usage.md 46a42c5ef9 Docs: update readme and usage doc for router преди 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