Vue.js for AI interfaces: how n8n, Baserow and listmonk build their front ends, and what Vue 3.6 Vapor Mode changes in 2026
What Vue is
Evan You released Vue in 2014 after working on AngularJS at Google, aiming for a lighter framework that kept the parts he liked. Vue 3, released in 2020, introduced the Composition API and a rewritten reactivity system. Vue is independent, funded by sponsors rather than one company, and maintained by a core team.
A Vue single-file component combines three parts in one .vue file:
| Section | Contents |
|---|---|
<template> | HTML-like markup with directives such as v-if and v-for |
<script setup> | Component logic using refs, computed values and functions |
<style scoped> | CSS that applies only to this component |
Reactivity is fine-grained: when a value changes, Vue knows which components depend on it and updates only those.
Which directory projects use Vue
| Project | What it is | Vue use |
|---|---|---|
| n8n | Workflow automation with AI agent nodes | The editor UI, node canvas and settings are Vue 3 with Pinia for state |
| Baserow | No-code database and Airtable alternative | Nuxt and Vue front end over a Django API |
| listmonk | Self-hosted newsletter and mailing list manager | Vue admin dashboard served by a Go back end |
The pattern of a Vue front end over a separate back end, written in TypeScript, Python or Go, is common in self-hosted tools. Read more on the n8n stack page and the Django stack page.
Vue 3.5 and 3.6
The current stable line is Vue 3.5, with 3.5.44 released on October 13, 2026. Vue 3.5 brought reactive props destructuring, useTemplateRef, lazy hydration for server-rendered apps and a memory reduction in the reactivity system.
Vue 3.6 entered release candidates in 2026; rc.12 shipped on October 16. Its two major changes:
| Change | Effect |
|---|---|
| Vapor Mode | Opt-in compilation without a virtual DOM; smaller baseline bundle and faster updates |
| alien-signals reactivity | @vue/reactivity rebuilt on the alien-signals library for better speed and lower memory use |
Vapor Mode is per component, so an app can switch hot spots such as a chat transcript with thousands of messages or a large data grid without rewriting the rest.
Building AI interfaces with Vue
Chat interfaces
The Vercel AI SDK supports Vue through @ai-sdk/vue, which provides a useChat-style composable for streaming messages, tool calls and status. For a Nuxt app, a server route calls the model and streams back; the client renders tokens as they arrive. Points to handle:
- Render Markdown safely with a sanitizing renderer; never use
v-htmlon raw model output. - Auto-scroll only when the user is already at the bottom.
- Show tool-call progress and allow stopping generation.
- Virtualize long transcripts with a library such as vue-virtual-scroller.
Workflow and node editors
Vue Flow is a popular library for node-based editors in Vue, the same kind of interface n8n and agent builders use. It handles nodes, edges, zoom, minimap and custom node components.
State management
Pinia is Vue's official store. For AI apps it holds conversations, model settings and streaming state. Keep server data, such as conversation history, in a data-fetching layer like TanStack Query for Vue, and keep Pinia for client state.
Nuxt for full-stack AI apps
Nuxt adds server routes built on the Nitro engine, which runs on Node.js, edge platforms and serverless hosts. Model API keys stay in server routes, and the client never sees them. Nuxt's module list includes UI kits such as Nuxt UI, content handling and authentication. Nuxt Labs joined Vercel in 2025, while Nuxt remained MIT-licensed and host-agnostic.
Vue compared with React and Svelte
| Factor | Vue | React | Svelte |
|---|---|---|---|
| Learning curve | Gentle | Moderate | Gentle |
| Reactivity | Fine-grained signals | Re-render with hooks; compiler optimizes | Compiled runes |
| AI component libraries | Growing | Largest selection | Smaller |
| Full-stack framework | Nuxt | Next.js | SvelteKit |
| Notable AI apps | n8n | LibreChat, Langflow, LobeChat | Open WebUI |
See the React stack page and the Vite stack page.
A minimal streaming chat in Nuxt
A small Nuxt chat app needs three pieces. A server route in server/api/chat.post.ts reads the message history from the request body, calls the model through the AI SDK's streamText with the API key from runtime config, and returns the stream. A page component uses the Vue chat composable to hold messages, send new ones and render tokens as they arrive. A Markdown component renders each assistant message through a sanitizer and highlights code. Add per-user rate limiting in server middleware, store conversations in a database such as PostgreSQL or Supabase, and deploy to any Nitro-supported host. The whole app can live in one repository with one language, which is the main reason teams pick Nuxt over a Vite single-page app plus a separate back end.
Tooling
| Tool | Purpose |
|---|---|
| Vite | Dev server and build; created by Evan You |
| Vue Language Tools (Volar) | Editor support and type checking for .vue files |
| Vitest | Unit and component tests |
| Vue DevTools | Inspect components, state and performance |
| Pinia | State management |
| VueUse | Collection of composables for browser APIs, timers and more |
Using AI coding assistants with Vue
Coding assistants handle Vue well, but they were trained on more Options API code from Vue 2 days than on modern <script setup> code. Tell the assistant to use Vue 3 with the Composition API, TypeScript and <script setup>, and to use Pinia instead of Vuex. Add a short rules file to the repository describing those conventions so tools such as Cursor and Claude Code follow them.
Migrating an older Vue app
Vue 2 reached end of life at the end of 2023. Apps still on Vue 2 no longer receive security fixes and should move to Vue 3 through the migration build, which runs Vue 2 code on Vue 3 with warnings. Replace Vuex with Pinia, switch from Vue CLI or webpack to Vite, and convert components to <script setup> gradually. Once on Vue 3.5, trying Vapor Mode later is a per-component change.
Performance tips for data-heavy AI apps
AI dashboards often display long transcripts, large tables of evaluation results or streams of log lines. Use shallowRef for large arrays that you replace rather than mutate, so Vue does not track every nested property. Batch streamed tokens and update the view on animation frames rather than for every token. Use v-memo on list items that rarely change, and virtualize lists longer than a few hundred rows. These steps keep the interface responsive while a model streams thousands of tokens.
Related: Vite stack, n8n stack, TypeScript stack, React stack, Django stack, Stack index.
Frequently asked questions
What is Vue Vapor Mode?
An opt-in compilation strategy in Vue 3.6 that compiles components into direct DOM operations instead of creating a virtual DOM. It reduces the baseline bundle size and speeds up updates. Vapor components can be used alongside regular components, so apps can adopt it gradually for performance-sensitive parts.
Is Vue 3.6 stable?
Not yet. As of October 2026 it is a release candidate; 3.6.0-rc.12 shipped on October 16. Use Vue 3.5 in production and test 3.6 in a branch. The release candidate notes describe Vapor Mode as feature-complete.
Should I use Vue or React for an AI app?
Both work well. React has more AI-specific component libraries and examples, and the Vercel AI SDK's React hooks are the most used. Vue has official AI SDK support too, a simpler mental model and excellent performance. Choose the one your team knows; the AI parts mostly run on the server.
What is Nuxt?
The main full-stack framework for Vue, similar to Next.js for React. It adds file-based routing, server-side rendering, server API routes and a module system. Nuxt Labs joined Vercel in 2025, with Nuxt remaining open source under the MIT license.
Why does n8n use Vue?
n8n's editor is a complex single-page app with a node canvas, parameter panels and live execution data. Vue's reactivity handles frequent updates to many small pieces of state efficiently, and single-file components keep a large codebase organized.