Jon Kelley 540e785d8b Less clumsy configuration for desktop and mobile (#553) há 2 anos atrás
..
examples d9546d9504 Renderers are now packages, not features. (#387) há 3 anos atrás
src 540e785d8b Less clumsy configuration for desktop and mobile (#553) há 2 anos atrás
tests d9546d9504 Renderers are now packages, not features. (#387) há 3 anos atrás
.gitignore e04a6d63a5 chore: move tests out of core and into the top level crate há 3 anos atrás
CHANGELOG.md 56f3002aed feat: add changelogs há 3 anos atrás
Cargo.toml d9546d9504 Renderers are now packages, not features. (#387) há 3 anos atrás
Makefile.toml bd565bb65f improve Makefile tests há 3 anos atrás
README.md 8346525db5 Update README.md há 3 anos atrás
usage.md 6e66d6fe36 Added initial_url to the router component (#510) há 2 anos atrás
webdriver.json ee49fc27ff fix some newlines há 3 anos atrás

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