Function launch

Source
pub fn launch(
    root: fn() -> Element,
    contexts: Vec<Box<dyn Fn() -> Box<dyn Any> + Send + Sync>>,
    platform_config: Vec<Box<dyn Any>>,
)
Expand description

Launch the web application with the given root component, context and config

For a builder API, see LaunchBuilder defined in the dioxus crate.