Function leptos_config::get_config_from_str
source · pub fn get_config_from_str(text: &str) -> Result<ConfFile, 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.