dioxus/packages/router/src/lib.rs

42 lines
695 B
Rust
Raw Normal View History

2022-01-08 14:32:53 +00:00
#![allow(warnings)]
2021-12-29 04:20:01 +00:00
//! Dioxus-Router
//!
//! A simple match-based router and router service for most routing needs.
//!
//! Dioxus-Router is not a *declarative* router. Instead it uses a simple parse-match
//! pattern which can be derived via a macro.
//!
//! ```rust
//! fn app(cx: Scope) -> Element {
2022-01-25 20:06:37 +00:00
//!
2021-12-29 04:20:01 +00:00
//! }
//! ```
mod hooks {
mod use_route;
pub use use_route::*;
}
pub use hooks::*;
mod components {
#![allow(non_snake_case)]
mod router;
pub use router::*;
mod route;
pub use route::*;
mod link;
pub use link::*;
}
pub use components::*;
2021-12-29 04:20:01 +00:00
mod platform;
mod routecontext;
2021-12-29 04:20:01 +00:00
mod service;
2021-11-03 04:35:56 +00:00
mod utils;
pub use routecontext::*;
2021-12-29 04:20:01 +00:00
pub use service::*;