feat(leptos): frontend crate scaffold with empty app

- frontend/ crate compiles to WASM via trunk
- empty Leptos app mounted to body via wasm_bindgen(start)
- dependencies: leptos 0.7 CSR, leptos-use, lucide-leptos, gloo-net, web-sys
- workspace cargo check passes (first time the workspace compiles end-to-end)
- trunk build produces 65KB WASM + 25KB JS glue

Deviations from brief:
- lucide-leptos: 0.5 (brief) -> 3 (only version published)
- web-sys: removed invalid features ArrayBuffer/DataView (in js-sys/wasm-bindgen)
- src/main.rs -> src/lib.rs with #[wasm_bindgen(start)] to avoid bin/lib duplicate artifact
This commit is contained in:
asepharyana
2026-07-03 17:09:44 +07:00
parent f67bc5125b
commit c4c43ce912
8 changed files with 2647 additions and 0 deletions
+2
View File
@@ -13,3 +13,5 @@ logs/
.moon/docker
worktrees/
.worktrees/
frontend-leptos/frontend/dist/
target/