Explain features necessary for the pre_cache_static_routes function. (#1401)
This commit is contained in:
1 file changed
+2
@@ -30,6 +30,8 @@ async fn main() {
|
|||||||
.join("\n")
|
.join("\n")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// This function is available if you enable the ssr feature
|
||||||
|
// on the dioxus_router crate.
|
||||||
pre_cache_static_routes::<Route, _>(
|
pre_cache_static_routes::<Route, _>(
|
||||||
&mut renderer,
|
&mut renderer,
|
||||||
&DefaultRenderer {
|
&DefaultRenderer {
|
||||||
|
|||||||
Reference in new issue
Block a user