diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-10-23 02:24:29 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-10-23 02:24:29 +0200 |
| commit | 427ce16023613536b8176e6dee7c1580a5980c97 (patch) | |
| tree | ab39dffcf89eacbcb19a251d540c46d9ee5b38d0 /src/lib.rs | |
| parent | feat(buy): Provide basic buy interface (diff) | |
| download | web-client-427ce16023613536b8176e6dee7c1580a5980c97.zip | |
feat(treewide): Make usage more intuitive
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs index 3813ebb..b5ca65a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -30,9 +30,8 @@ use leptos_router::{ use reactive_stores::Store; use rocie_client::apis::configuration::Configuration; -use crate::{ - components::{buy::Buy, inventory::Inventory}, - pages::{home::Home, not_found::NotFound}, +use crate::pages::{ + buy::Buy, home::Home, inventory::Inventory, not_found::NotFound, recipies::Recipies, }; #[derive(Debug, Clone, Store)] @@ -84,6 +83,12 @@ pub fn App() -> impl IntoView { view! { <Buy /> } } /> + <Route + path=path!("/recipies") + view=move || { + view! { <Recipies /> } + } + /> </Routes> </Router> } |
