Function leptos_config::get_config_from_str

source ยท
pub fn get_config_from_str(
    text: &str
) -> Result<LeptosOptions, LeptosConfigError>
Expand description

Loads LeptosOptions from a Cargo.toml text content with layered overrides. If an env var is specified, like LEPTOS_ENV, it will override a setting in the file.