Function leptos_config::get_config_from_file
source · pub async fn get_config_from_file<P: AsRef<Path>>(
path: P
) -> Result<ConfFile, LeptosConfigError>
Expand description
Loads LeptosOptions from a Cargo.toml with layered overrides. Leptos will read in the settings itself. This option currently does not allow dashes in file or folder names, as all dashes become underscores