CMS Options
Complete configuration reference for @nuxtify/cms (nuxtifyCms and app.config.ts nuxtify options).
Overview
- Provided by:
@nuxtify/cms - Extends: Pages Options and Core Options
- Config keys:
nuxtifyCmsinnuxt.config.tsornuxtifyinapp/app.config.ts - Source types:
src/runtime/types/module.ts
Every option below has a sensible default. When overriding options marked Build-time (enabled and routePrefix), set them under nuxtifyCms in nuxt.config.ts so routes and sitemap exclusions are registered accurately at build time.
email
Extends Pages and Core email options (general, support, provider.defaultSubmitUrl).
| Option | Type | Default | Description |
|---|---|---|---|
email.reply | string | '' | Optional reply-to email address. |
content.scheduledCollections
| Option | Type | Default | Description |
|---|---|---|---|
content.scheduledCollections | string[] | ['articles', 'notes', 'pages', 'docs'] | Collections that automatically hide items with a future publishedAt timestamp outside dev mode. Set to [] to disable scheduled publishing, or add custom collection names. (Unlike defu array merges, passing a custom array replaces the default cleanly.) |
content.articles
Configures the long-form blog/articles collection.
| Option | Type | Default | Scope | Description |
|---|---|---|---|---|
content.articles.enabled | boolean | true | Build-time | Registers /articles and /articles/:slug routes and sitemap entries. |
content.articles.routePrefix | string | '/articles' | Build-time | URL prefix for article routes (e.g., '/blog'). |
content.articles.title | string | 'Articles' | Runtime | Heading for the articles index page. |
content.articles.subtitle | string | 'Long, in-depth posts.' | Runtime | Subtitle on the articles index page. |
content.articles.description | string | '' | Runtime | SEO meta description for the articles index page. |
content.articles.schemaType | ArticleSchemaType | 'Article' | Runtime | Default Schema.org type ('Article' | 'BlogPosting' | 'NewsArticle' | 'TechArticle' | 'SocialMediaPosting'). |
content.articles.readTime.enabled | boolean | true | Runtime | Displays estimated reading time on articles. |
content.articles.readTime.wordsPerMinute | number | 275 | Runtime | Reading speed used to calculate estimated reading time. |
content.articles.toc.enabled | boolean | true | Runtime | Shows the sticky table of contents on article pages. |
content.articles.toc.title | string | 'On this page' | Runtime | Heading text above the article table of contents. |
content.notes
Configures short-form notes (disabled by default).
| Option | Type | Default | Scope | Description |
|---|---|---|---|---|
content.notes.enabled | boolean | false | Build-time | Enables /notes and /notes/:slug routes (also required for /tags/:slug). |
content.notes.routePrefix | string | '/notes' | Build-time | URL prefix for notes routes. |
content.notes.title | string | 'Notes' | Runtime | Heading for the notes index page. |
content.notes.subtitle | string | 'Short updates, thoughts, and links.' | Runtime | Subtitle on the notes index page. |
content.notes.description | string | '' | Runtime | SEO meta description for the notes index page. |
content.notes.schemaType | ArticleSchemaType | 'BlogPosting' | Runtime | Default Schema.org type for note pages. |
content.topics
Configures article topic hubs.
| Option | Type | Default | Scope | Description |
|---|---|---|---|---|
content.topics.enabled | boolean | true | Build-time | Registers /topics and /topics/:slug routes. |
content.topics.routePrefix | string | '/topics' | Build-time | URL prefix for topic routes. |
content.topics.title | string | 'Topics' | Runtime | Heading for the topics index page. |
content.topics.subtitle | string | 'Explore posts by category.' | Runtime | Subtitle on the topics index page. |
content.topics.description | string | '' | Runtime | SEO meta description for the topics index page. |
content.contributors
Configures author/contributor profile pages.
| Option | Type | Default | Scope | Description |
|---|---|---|---|---|
content.contributors.enabled | boolean | true | Build-time | Registers /contributors and /contributors/:slug routes. |
content.contributors.routePrefix | string | '/contributors' | Build-time | URL prefix for contributor routes. |
content.contributors.title | string | 'Contributors' | Runtime | Heading for the contributors index page. |
content.contributors.subtitle | string | 'The wonderful humans who make this website possible.' | Runtime | Subtitle on the contributors index page. |
content.contributors.description | string | '' | Runtime | SEO meta description for the contributors index page. |
content.tags
Configures /tags/:slug pages for notes.
| Option | Type | Default | Scope | Description |
|---|---|---|---|---|
content.tags.enabled | boolean | true | Build-time | Enables /tags/:slug routes (effective only when content.notes.enabled is true). |
content.tags.prependIcon | string | '' | Runtime | Optional MDI icon prepended to tag chips. |
content.tags.description | string | '' | Runtime | SEO meta description for tag pages. |
content.docs
Configures the built-in documentation engine.
| Option | Type | Default | Scope | Description |
|---|---|---|---|---|
content.docs.enabled | boolean | true | Build-time | Registers /docs/:slug(.*)* routes and sitemap entries. |
content.docs.routePrefix | string | '/docs' | Build-time | URL prefix for documentation routes (e.g., '/guide'). |
content.docs.title | string | 'Docs' | Runtime | Fallback title used in breadcrumbs and metadata. |
content.docs.description | string | '' | Runtime | Default description fallback for docs pages. |
content.docs.schemaType | ArticleSchemaType | 'TechArticle' | Runtime | Default Schema.org type emitted by useDocSchema. |
content.docs.toc.enabled | boolean | true | Runtime | Displays the right-hand table of contents on docs pages (can also be disabled per page via toc: false). |
content.docs.toc.title | string | 'On this page' | Runtime | Heading text above the docs table of contents. |
content.docs.prevNext.enabled | boolean | true | Runtime | Displays previous/next pagination cards at the bottom of docs pages (can also be disabled per page via prevNext: false). |
Example
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@nuxt/content', '@nuxtify/cms'],
nuxtifyCms: {
content: {
articles: {
routePrefix: '/blog',
title: 'Blog',
readTime: {
wordsPerMinute: 250,
},
},
notes: {
enabled: true,
},
docs: {
title: 'Documentation',
toc: {
title: 'In this guide',
},
},
},
},
})