pub fn setup_app(log_level: Level, children: Children)Expand description
Application entrypoint.
On csr, mounts the app to the document body via leptos::mount::mount_to_body.
On hydrate, hydrates pre-rendered SSR markup (placeholder until hydration
support lands; see impulse-ssr-support roadmap).
On ssr, this is a no-op — the server entrypoint is
impulse_server_kit::leptos_ssr::leptos_router.
ⓘ
fn main() {
setup_app(log::Level::Info, Box::new(move || view! { <App /> }.into_any()))
}