Hirola is an opinionated web framework for that is focused on simplicity and predictability.
Here is a simple example:
```rust use hirola::prelude::*;
fn counter(: &HirolaApp) -> TemplateResult
html! {
<div class="flex flex-row h-10">
<button on:click={decerement}>"-"</button>
<input value={state.get()} disabled/>
<button on:click={incerement}>"+"</button>
</div>
}
}
fn main() { let mut app = HirolaApp::new(); app.mount("body", counter); }
```
This API will certainly change.
You need need to have rust
, cargo
and trunk
installed.
License: MIT