fix router examples
This commit is contained in:
1 parent
7e3c45eb7e
commit
e83866b986
6 files changed
+77
-52
No files matched your search
@@ -9,7 +9,7 @@ use dioxus_ssr::incremental::{
|
||||
use crate::prelude::*;
|
||||
|
||||
/// Pre-cache all static routes.
|
||||
pub async fn pre_cache_static_routes<R: RenderHTML + Send, Rt>(
|
||||
pub async fn pre_cache_static_routes<Rt, R: RenderHTML + Send>(
|
||||
renderer: &mut IncrementalRenderer<R>,
|
||||
) -> Result<(), IncrementalRendererError>
|
||||
where
|
||||
|
||||
@@ -63,7 +63,9 @@ pub mod prelude {
|
||||
pub use dioxus_router_macro::Routable;
|
||||
|
||||
#[cfg(feature = "ssr")]
|
||||
pub use dioxus_ssr::incremental::IncrementalRendererConfig;
|
||||
pub use crate::incremental::*;
|
||||
#[cfg(feature = "ssr")]
|
||||
pub use dioxus_ssr::incremental::*;
|
||||
|
||||
#[doc(hidden)]
|
||||
/// A component with props used in the macro
|
||||
|
||||
Reference in new issue
Block a user