//! This example shows how to use a custom index.html and custom extensions //! to add things like stylesheets, scripts, and third-party JS libraries. use dioxus::prelude::*; fn main() { LaunchBuilder::new() .with_cfg( dioxus::desktop::Config::new().with_custom_index( r#" Dioxus app

External HTML

"# .into(), ), ) .launch(app); } fn app() -> Element { rsx! { h1 { "Custom HTML!" } } }