yew-nested-router 0.9.0

A router for Yew which supports nesting
Documentation
1
2
3
4
5
6
7
8
9
10
11
use yew_nested_router::Target;

/// test with a nested struct like variant having a default.
#[test]
fn test_names() {
    #[derive(Target, Debug, Clone, PartialEq, Eq)]
    pub enum Pages {
        // having a property named "path" should work
        Details { path: String },
    }
}