feat(webui): Add UMD build format and CDN usage support

This commit is contained in:
yiliang114 2026-01-22 15:47:56 +08:00
parent 1f9311d3ca
commit 8d2d29a422
13 changed files with 796 additions and 189 deletions

View file

@ -0,0 +1,8 @@
# Examples
This directory contains example implementations demonstrating various ways to use the `@qwen-code/webui` library.
## Available Examples
- [`cdn-usage-demo.html`](./cdn-usage-demo.html) - Shows how to use the library directly via CDN in a browser environment, featuring the ChatViewer component
- [`complex-chat-demo.html`](./complex-chat-demo.html) - Demonstrates a complex chat conversation with tool calls, code blocks, and mixed-language interactions