Files
marqdo/examples/web-site/README.md
T
cflmyandCursor 037592087c feat(web): table-bound intro and demo-grade web-site sample
Add compose_intro (属性/值/样式) so page heroes are not HTML strings, and polish examples/web-site for WWW Demo: literary shell, card→detail routes, richer seeds, particle atmosphere without author JS.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 17:34:49 +08:00

28 lines
748 B
Markdown

# examples/web-site
Canonical **English** sample for `ext/web` — WWW Demo walkthrough site.
**Hands-on script:** [DEMO.md](./DEMO.md)
## Authoring rules (checkable)
| Surface | How it is authored |
|---------|-------------------|
| Routes / forms / admin | GFM tables + class methods |
| Look-and-feel | Host shell CSS + **style tables** |
| Author business JavaScript | **none** |
| Author hand-written `.css` | **none** |
```bash
cargo build -p marqdo_plugin_web
marqdo run examples/web-site/index.mq.md
```
http://127.0.0.1:18081/ — `/about`, `/new` (validation), `/admin` (list + create).
```bash
find examples/web-site \( -name '*.js' -o -name '*.css' \) | wc -l # 0
```
Chinese twin: [`examples/web-site-zh/`](../web-site-zh/).