Write docs for Nuxt.
A Nuxt Layer you can simply extends: Markdown authoring, generated component docs, an AI assistant and an MCP Server out of the box, so your docs read like a carefully typeset book.
pnpm add @movk/nuxt-docs @nuxt/content tailwindcss
npm install @movk/nuxt-docs @nuxt/content tailwindcss
export default defineNuxtConfig({
extends: ['@movk/nuxt-docs'],
aiChat: {
model: 'alibaba/qwen3.8-27b',
models: ['alibaba/qwen3.8-27b', 'deepseek/deepseek-v4-pro-0813']
}
})
01 — Docs
Docs that write themselves
Props, Slots and Emits are extracted from source; examples, commit history and type highlighting come from built-in components. Your content stays plain Markdown.
Component metadata extraction
With componentDocs on, Vue component definitions are read with nuxt-component-meta, so API tables never drift.
Interactive examples
ComponentExample loads examples and renders the preview alongside the source.
Git commit history
CommitChangelog and PageLastCommit show a file's changes and last update time.
Type highlighting
Parses TypeScript types and highlights them inline for readable API docs.
Documentation components
Callout, Steps, Tabs, Card and more from Nuxt UI, restyled with editorial typography.
Search and i18n
⌘K search across every page; opt-in locales with per-language collections and hreflang.
02 — AI
Typeset for people and AI
Readers can ask the docs directly, while AI editors read the same content through the MCP Server, llms.txt and Agent Skills.


AI chat assistant
Built on the Vercel AI SDK, with streaming output and live code highlighting.
MCP Server
Structured docs access for Cursor, VS Code and other editors, added in one click.
llms.txt
Generates llms.txt and llms-full.txt as an index for AI tools.
Agent Skills
Publishes your skills/ directory at /.well-known/skills so assistants learn your project.
Tool calling
The assistant searches and reads pages through tools, so answers cite the docs.
Flexible model routing
AI Gateway, any OpenAI-compatible endpoint, or your own registered provider.
Start with a single Markdown file.