Skip to main content

resolve_with_files_debug

Function resolve_with_files_debug 

Source
pub fn resolve_with_files_debug(
    entry_path: &str,
    files: &HashMap<String, String>,
    data: &Value,
    file_origins: &HashMap<String, String>,
) -> Result<ResolvedComponent, String>
Expand description

Like resolve_with_files, but with debug HTML comments showing component/slot boundaries.

file_origins maps each file path to its theme name (e.g. "components/header.van" → "van1"). When present, debug comments include the theme: <!-- START: [van1] components/header.van -->.