Who it is forA Vue developer adding an AI generation screen who does not want to rebuild prompt boxes and result grids.
The problemMost AI UI kits are React only, and wiring queued, running and done states by hand is fiddly.
The outcomeA working generation screen in Vue with a multi-modal Composer, live result cards and keys kept on your server.
What you need first
- React 18.3 or 19, or Vue 3.5 or later
- pnpm
- An engine account such as Fal.ai or OpenRouter
Steps
- Run
pnpm add @chai-ui/vue @chai-ui/core @chai-ui/tokens(Vue 3.5 or later, Nuxt included) - Import the CSS with
import "@chai-ui/tokens/css"; - Import
Composer, ResultCard, createFalEngine, useComposerfrom @chai-ui/vue and create the engine withcreateFalEngine() - Add a server route with
createChaiHandlerfrom @chai-ui/core/server so the Fal key never reaches the browser - Render Composer and map run results to ResultCard
Prompt for your agent
Add a chai-ui generation page to my Nuxt app at <route> using @chai-ui/vue with the Fal engine and a server handler. Confirm the API key is only read server side.
Caveat. You need a Fal.ai, OpenRouter or Vercel AI Gateway account, or your own engine, for anything to generate.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for kazarazat/chai-ui and "Use the same AI components in Vue or Nuxt"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer