use leptos::prelude::*; use leptos_meta::{provide_meta_context, MetaTags, Stylesheet, Title}; use leptos_router::{ components::{Route, Router, Routes}, StaticSegment, }; use crate::routes; pub fn shell(options: LeptosOptions) -> impl IntoView { view! { } } #[component] pub fn App() -> impl IntoView { provide_meta_context(); view! { <Router> <main> <Routes fallback=|| "Page not found.".into_view()> <Route path=StaticSegment("") view=routes::home::Route/> </Routes> </main> </Router> } }