Files
marqdo/examples/browser-hello/README.md
T
cflmyandCursor a9d30cdf4a feat(wasm): route D zero-author-JS frontend + plan route E
Auto-mount via bridge mount/data-mq and client_embed; expand DOM/form
effects; drop hello loader JS; add web-client-site. Document that C+D
cover mid-size interactivity but not most JS apps—route E covers
routing, storage, lists, WebSocket, and richer DOM/timers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 08:46:05 +08:00

910 B
Raw Blame History

browser-hello(WASM C1–C4 / 路线 D)

浏览器内跑 Marqdo。无作者业务 JS——只保留官方 marqdo-bridge.js(marqdo wasm build 拷贝)。

# 仓库根目录
cargo build -p marqdo --release
./target/release/marqdo wasm build -o examples/browser-hello

cd examples/browser-hello
python3 -m http.server 8765
页 说明
/ playground:data-mq-playground + textarea → mq_run
/interact.html counter.mq.md wire → 点击改 DOM
/fetch.html fetch / after 效应
/form.html input + value / set_class(D3)

自启方式:脚本上的 data-mq-source-url / data-mq-playground,或 #marqdo-boot JSON。详见 browser-wasm-d.md。