Skip to main content

tauri_frontend

Function tauri_frontend 

Source
pub fn tauri_frontend(
    manifest_dir: impl AsRef<Path>,
    opts: &Emit,
    explicit_touch: Option<&str>,
)
Expand description

All three generated files at the layout every Tauri consumer already uses: themes/ beside the manifest, and frontend/css/{geometry,layout}.css under it.

Pass env!("CARGO_MANIFEST_DIR"). Consumers that want different paths call themes and layout_css directly.

ยงPanics

If either file cannot be written.