Files
copilotkit__copilotkit/examples/v2/vue/demo/pages/a2ui-demo.vue
enekesabel bdd0532b1c feat(vue-demo): add Nuxt demo app
Nuxt 3 demo application with CopilotKit integration
showcasing popup, sidebar, single-agent, MCP apps, and
A2UI demo pages with Hono-based API endpoints.
2026-05-13 15:50:12 -07:00

16 lines
411 B
Vue

<script setup lang="ts">
import { CopilotChat, CopilotKitProvider } from "@copilotkit/vue";
</script>
<template>
<CopilotKitProvider
runtime-url="/api/copilotkit"
:a2ui="{}"
show-dev-console="auto"
>
<div style="height: 100vh; margin: 0; padding: 0; overflow: hidden">
<CopilotChat agent-id="demo-button" thread-id="a2ui-demo-thread" />
</div>
</CopilotKitProvider>
</template>