Skip to main content

embed_assets

Macro embed_assets 

Source
macro_rules! embed_assets {
    () => { ... };
}
Expand description

Include the asset table generated by webx::builder() in build.rs.

Prefer #[webx::main(embed)] in application code. This bang-macro is the low-level include used by that attribute (and by #[webx::embed_assets] in integration tests).

ⓘ
// Usually you do not call this directly:
webx::spa::embed_assets!();