Skip to main content

Module router

Module router 

Source
Expand description

全站路由配置

使用 Dioxus Router 定义前端路由层级,包含前台布局、后台管理布局、 独立的登录与注册页面。Route 枚举上的 #[route("/path")] 属性 既用于生成 URL 匹配规则,也用于组件导航。

Re-exports§

pub use AppRouter_completions::Component::AppRouter;

Enums§

Route
全站路由枚举,每个变体对应一个页面路径

Functions§

AppRouter
应用路由器组件
ErrorLayout 🔒