mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 22:54:12 +00:00
Explain features necessary for the pre_cache_static_routes
function. (#1401)
This commit is contained in:
parent
31f8bab20d
commit
37eb929d69
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ async fn main() {
|
|||
.join("\n")
|
||||
);
|
||||
|
||||
// This function is available if you enable the ssr feature
|
||||
// on the dioxus_router crate.
|
||||
pre_cache_static_routes::<Route, _>(
|
||||
&mut renderer,
|
||||
&DefaultRenderer {
|
||||
|
|
Loading…
Reference in a new issue