feat: wire up both desktop and web
This commit is contained in:
1 parent
10db6ad65b
commit
05331ddd80
15 files changed
+261
-728
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user