# Built for the Vue ecosystem

I am Maxi, and I built ViteHub's Vue component package for Vue and Nuxt applications.

`@vite-hub/ui` holds the chat, trace, diff, and file parts behind interfaces
such as the ViteHub Console. The Console owns its Agent run views; see the
[Console documentation](https://vitehub.dev/docs/development/console).

The server packages do not need Vue. A React app, a server route, or a CLI can
call the same Server Primitives and run the same Agents.

## Start with a complete block

The [Chat App](https://vitehub.dev/docs/ui/blocks/chat-app) joins a session list and a chat view. The Console shows Agent runs and their recorded steps. Start with one of
these blocks, then replace its slots when your app needs different controls.

The components use Vue props, events, and slots. The Nuxt integration
registers them for you. Read [Installation](https://vitehub.dev/docs/ui/installation) for setup
and required styles, or follow the [UI tutorial](https://vitehub.dev/docs/ui/get-started) to
render your first component.

## Connect your own data

The components show the data you pass to them. The package does not create an
Agent, store sessions, or give access to a Workspace. Connect the UI to your
server routes and check authorization in those routes.

Each component's reference page lists its input and events. See
[Agents](https://vitehub.dev/docs/agents) for execution and [Workspaces](https://vitehub.dev/docs/workspace) for
file access.

<!-- vitehub-docs:section-links -->
## In this section

- [Get started](https://vitehub.dev/raw/docs/getting-started.md)
- [Next steps](https://vitehub.dev/raw/docs/getting-started/server-primitives.md)
- [Develop and deploy](https://vitehub.dev/raw/docs/getting-started/migrate-from-nuxthub.md)
- [Coding agents](https://vitehub.dev/raw/docs/getting-started/ai-resources.md)

All pages: [llms.txt](https://vitehub.dev/llms.txt)
