Skip to main content

write_index

Function write_index 

Source
pub fn write_index(root: &Path) -> Result<(PathBuf, Option<String>), Diagnostic>
Expand description

Writes INDEX_FILE: a module per component .yui under src/ that has no code-behind .rs next to it (those ui_include! themselves). With a warning when there are such components but src/lib.rs doesn’t call yog_api::ui_components!().