Fixing the Router for the exmaple.

This commit is contained in:
2025-09-25 11:37:36 -04:00
parent 655dc8e90f
commit 54dc751dca

View File

@ -103,13 +103,11 @@ pub enum Page
#[route("/")] #[route("/")]
Home {}, Home {},
// #[nest("/blog")] #[child("/blog")]
#[child("/blog")] Bard
Bard {
{ child: bard::Page
child: bard::Page },
},
// #[end_nest]
#[route("/:..route")] #[route("/:..route")]
PageNotFound { route: Vec<String> } PageNotFound { route: Vec<String> }