fix router examples

This commit is contained in:
Evan Almloff committed 2023-06-24 13:44:22 -07:00
1 parent 7e3c45eb7e
commit e83866b986
6 files changed
+77 -52

No files matched your search

+1 -1
View File
@@ -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
+3 -1
View File
@@ -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