summary refs log tree commit diff stats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs11
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>
     }