blob: e4517919e22b88b08d8b74cf4d33edf19e18c354 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use yew_router::prelude::*;
use uuid::Uuid;
#[derive(Clone, Routable, PartialEq)]
pub enum Route {
#[at("/")]
Home,
#[at("/playground")]
Playground,
#[at("/table/:id")]
Table { id: Uuid },
}
|