{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "kazarazat-chai-ui--use-chai-ui-in-vue-or-nuxt",
 "repo": "kazarazat/chai-ui",
 "repo_url": "https://github.com/kazarazat/chai-ui",
 "repo_slug": "kazarazat-chai-ui",
 "title": "Use the same AI components in Vue or Nuxt",
 "page_title": "How to use the same AI components in Vue or Nuxt with Chai UI",
 "summary": "Add the Composer and ResultCard components to a Vue 3.5 or Nuxt app and run image or text generation through Fal.ai.",
 "who": "A Vue developer adding an AI generation screen who does not want to rebuild prompt boxes and result grids.",
 "problem": "Most AI UI kits are React only, and wiring queued, running and done states by hand is fiddly.",
 "outcome": "A working generation screen in Vue with a multi-modal Composer, live result cards and keys kept on your server.",
 "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, useComposer` from @chai-ui/vue and create the engine with `createFalEngine()`",
  "Add a server route with `createChaiHandler` from @chai-ui/core/server so the Fal key never reaches the browser",
  "Render Composer and map run results to ResultCard"
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "You need a Fal.ai, OpenRouter or Vercel AI Gateway account, or your own engine, for anything to generate.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "React 18.3 or 19, or Vue 3.5 or later",
  "pnpm",
  "An engine account such as Fal.ai or OpenRouter"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/kazarazat-chai-ui/use-chai-ui-in-vue-or-nuxt/",
 "md": "https://dedupedai.com/use-cases/kazarazat-chai-ui/use-chai-ui-in-vue-or-nuxt/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/kazarazat-chai-ui--use-chai-ui-in-vue-or-nuxt.json",
 "api_version": "v1"
}
