Drop bag/scaffold glue and rebuild the web plugin for compose, SQLite CRUD, and listen, with call_lib_path support and a §4 English site sample. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
479 B
Markdown
25 lines
479 B
Markdown
# ext/web
|
|
|
|
Official dynamic website extension. Design: [`doc/design/ext-web.md`](../../doc/design/ext-web.md).
|
|
|
|
```bash
|
|
cargo build -p marqdo_plugin_web
|
|
marqdo ext add web
|
|
```
|
|
|
|
```markdown
|
|
---
|
|
> ext/web/web.mq.md
|
|
---
|
|
|
|
# main
|
|
> web.ensure_plugin
|
|
*`page` = > web.page title=Hi *
|
|
*`app` = > web.app page=`page` *
|
|
> `app`.listen
|
|
```
|
|
|
|
Scaffold: `> web.scaffold dest=./myapp`
|
|
|
|
Multipage site pack (compose + table CSS + `/_part`): see [`examples/web-site/`](../../examples/web-site/).
|