Loading...
Loading...
Use when working with Nuxt Content v3 - provides collections (local/remote/API sources), queryCollection API, MDC rendering, database configuration, NuxtStudio integration, hooks, i18n patterns, and LLMs integration
npx skill4agent add onmax/nuxt-skills nuxt-contentcontent.config.tsdefineCollectiondefineCollectionSourcequeryCollection<ContentRenderer>content:file:beforeParsecontent:file:afterParsenuxt-llmsdocument-writernuxtnuxthub| Concept | Purpose |
|---|---|
| Collections | Typed content groups with schemas |
| Page vs Data | |
| Remote sources | |
| queryCollection | SQL-like fluent API for content |
| MDC | Vue components inside markdown |
| ContentRenderer | Renders parsed markdown body |
project/
├── content/ # Content files
│ ├── blog/ # Maps to 'blog' collection
│ └── .navigation.yml # Navigation metadata
├── components/content/ # MDC components
└── content.config.ts # Collection definitions