re export renderers in dioxus
This commit is contained in:
1 parent
34e4917dbf
commit
b3cf9374f8
2 files changed
+15
-14
No files matched your search
@@ -73,20 +73,6 @@ impl<
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// #[cfg(feature = "router")]
|
|
||||||
// impl<R: Routable> LaunchBuilder<crate::router::FullstackRouterConfig<R>>
|
|
||||||
// where
|
|
||||||
// <R as std::str::FromStr>::Err: std::fmt::Display,
|
|
||||||
// R: Clone + serde::Serialize + serde::de::DeserializeOwned + Send + Sync + 'static,
|
|
||||||
// {
|
|
||||||
// /// Create a new launch builder for the given router.
|
|
||||||
// pub fn router() -> Self {
|
|
||||||
// let component = crate::router::RouteWithCfg::<R>;
|
|
||||||
// let props = crate::router::FullstackRouterConfig::default();
|
|
||||||
// Self::new_with_props(component, props)
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
#[cfg(feature = "desktop")]
|
#[cfg(feature = "desktop")]
|
||||||
type CurrentPlatform = dioxus_desktop::DesktopPlatform;
|
type CurrentPlatform = dioxus_desktop::DesktopPlatform;
|
||||||
#[cfg(feature = "web")]
|
#[cfg(feature = "web")]
|
||||||
|
|||||||
@@ -57,3 +57,18 @@ pub mod prelude {
|
|||||||
|
|
||||||
pub use dioxus_core;
|
pub use dioxus_core;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "web")]
|
||||||
|
pub use dioxus_web as web;
|
||||||
|
|
||||||
|
#[cfg(feature = "router")]
|
||||||
|
pub use dioxus_router as router;
|
||||||
|
|
||||||
|
#[cfg(feature = "fullstack")]
|
||||||
|
pub use dioxus_fullstack as fullstack;
|
||||||
|
|
||||||
|
#[cfg(feature = "desktop")]
|
||||||
|
pub use dioxus_desktop as desktop;
|
||||||
|
|
||||||
|
#[cfg(feature = "tui")]
|
||||||
|
pub use dioxus_tui as tui;
|
||||||
Reference in new issue
Block a user