feat(build): generate client handler bootstrap

req: client_local/001\nreq: client_local/004\nreq: client_local/006\nreq: client_local/007\nreq: client_local/008\nreq: client_local/009\nreq: client_local/010\nreq: client_local/014\nreq: security/002\nreq: security/006\nreq: v1_release/001\nreq: v1_release/008
This commit is contained in:
slhx agent
2026-07-13 13:02:29 +02:00
parent 38eae79a2f
commit ac525fe572
9 changed files with 191 additions and 54 deletions
+3
View File
@@ -0,0 +1,3 @@
fn main() {
print!("{}", hemx_client_local_example::render_fixture());
}
+9
View File
@@ -1,6 +1,15 @@
#[hemx::surface]
pub mod ui {}
#[cfg(not(target_arch = "wasm32"))]
#[derive(hemplate::Hemplate)]
pub struct ClientLocal;
#[cfg(not(target_arch = "wasm32"))]
pub fn render_fixture() -> hemx::Html {
ui::client_local::render(&ClientLocal)
}
#[hemx::handler(client)]
pub fn increment(
event: hemx::wasm::ClientEvent,