use self::{ home::HomePage, series::{add::AddSeries, view::ViewSeries}, }; use crate::error_template::{AppError, ErrorTemplate}; use leptos::*; use leptos_meta::*; use leptos_router::*; mod home; mod series; #[component] pub fn App() -> impl IntoView { // Provides context that manages stylesheets, titles, meta tags, etc. provide_meta_context(); view! { // injects a stylesheet into the document
// id=leptos means cargo-leptos will hot-reload this stylesheet