docs: update Examples section and move below Quick Example

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yunfei He
2026-05-24 23:35:25 +08:00
parent ddac248d26
commit e850cb15ee
+9 -8
View File
@@ -50,6 +50,15 @@ useInput((input) => {
</template> </template>
``` ```
## Examples
| Example | Description |
| --------------------------------------------- | ----------------------------------------------------------- |
| [`basic-template`](./examples/basic-template) | Vue SFC with `<template>` syntax |
| [`basic-jsx`](./examples/basic-jsx) | Same app in TSX |
| [`coding-agent`](./examples/coding-agent) | AI coding agent with LLM streaming and interactive UI |
| [`flappy-bird`](./examples/flappy-bird) | Physics-based terminal game with reactive state and borders |
## Getting Started ## Getting Started
```bash ```bash
@@ -130,14 +139,6 @@ test("counter responds to + and - keys", async () => {
}); });
``` ```
## Examples
| Example | Description |
| --------------------------------------------- | -------------------------------------------------- |
| [`basic-template`](./examples/basic-template) | Vue SFC with `<template>` syntax |
| [`basic-jsx`](./examples/basic-jsx) | Same app in TSX |
| [`flappy-bird`](./examples/flappy-bird) | Physics-based game with reactive state and borders |
## Development ## Development
Requires [pnpm](https://pnpm.io/) and Node.js 22+. Requires [pnpm](https://pnpm.io/) and Node.js 22+.