add an example illistrating intigration with the router

This commit is contained in:
Evan Almloff committed 2023-03-31 15:33:44 -05:00
1 parent 976d4ab960
commit bfcb0f6eab
15 files changed
+283 -72

No files matched your search

@@ -25,7 +25,9 @@ fn main() {
axum::Router::new()
.serve_dioxus_application(
ServeConfig::new(app, ()).head(r#"<title>Hello World!</title>"#),
None,
)
.with_state(SSRState::default())
.into_make_service(),
)
.await