pub fn generate_route_list_with_exclusions_and_ssg<IV>(
app_fn: impl Fn() -> IV + 'static + Clone,
excluded_routes: Option<Vec<String>>,
) -> (Vec<RouteListing>, StaticDataMap)where
IV: IntoView + 'static,
Expand description
Generates a list of all routes defined in Leptos’s Router in your app. We can then use this to automatically
create routes in Actix’s App without having to use wildcard matching or fallbacks. Takes in your root app Element
as an argument so it can walk you app tree. This version is tailored to generated Actix compatible paths. Adding excluded_routes
to this function will stop .leptos_routes()
from generating a route for it, allowing a custom handler. These need to be in Actix path format