✨ Add with_component() to region "content" in Page
This commit is contained in:
parent
9be23d3cd8
commit
e011cf7f62
8 changed files with 19 additions and 14 deletions
|
|
@ -42,7 +42,7 @@
|
|||
//!
|
||||
//! async fn hello_world(request: service::HttpRequest) -> ResultPage<Markup, ErrorPage> {
|
||||
//! Page::new(request)
|
||||
//! .with_component_in("content", Html::with(html! { h1 { "Hello World!" } }))
|
||||
//! .with_component(Html::with(html! { h1 { "Hello World!" } }))
|
||||
//! .render()
|
||||
//! }
|
||||
//!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue