Several pages [wip]

- Be able to set a name
This commit is contained in:
finga 2022-09-20 16:45:01 +02:00
parent 6aa9bb0e43
commit 9c0286b55a
4 changed files with 45 additions and 41 deletions

View file

@ -12,10 +12,12 @@ use wasm_bindgen_futures::spawn_local;
use yew::prelude::*;
use yew_router::prelude::*;
#[derive(Clone, Debug, Eq, PartialEq, Routable)]
#[derive(Routable, PartialEq, Eq, Clone, Debug)]
pub enum Route {
#[at("/")]
LockWatch,
// #[at("/")]
// LockWatch,
#[at("/:id")]
LockWatch { id: u64 },
#[not_found]
#[at("/404")]
NotFound,