Build v0 example and SSE slices

This commit is contained in:
slhx agent
2026-05-10 22:26:54 +02:00
parent f33b306ec0
commit 3e0ed95490
13 changed files with 464 additions and 39 deletions
+11
View File
@@ -0,0 +1,11 @@
<section data-slhx-root="todos">
<form data-slhx-handle="add_todo" data-slhx-form="new_todo">
<input name="title" required="required">
<button type="submit">Add</button>
</form>
<ul data-slhx-slot="todo_list">
<template h-for="todo in &self.todos" h-key="todo.id">
<li data-slhx-slot="todo_row">{+ todo.title +}</li>
</template>
</ul>
</section>