feat: wire up both desktop and web

This commit is contained in:
Jonathan Kelley committed 2022-01-13 22:51:01 -05:00
1 parent 10db6ad65b
commit 05331ddd80
15 files changed
+261 -728

No files matched your search

+2 -3
View File
@@ -3,10 +3,9 @@
/// This struct helps configure the specifics of hydration and render destination for WebSys.
///
/// # Example
///
/// ```rust, ignore
/// fn main() {
/// dioxus::web::launch(App, |cfg| cfg.hydrate(true).root_name("myroot"))
/// }
/// dioxus::web::launch(App, |cfg| cfg.hydrate(true).root_name("myroot"))
/// ```
pub struct WebConfig {
pub(crate) hydrate: bool,