Lightweight, file-based CMS module for Nuxt 4 and Vuetify 3—combining Nuxt Content (v3), Nuxt SEO, typed Zod schemas, MDC page blocks, and documentation layouts on top of @nuxtify/pages.
Note
Public Preview: This module is under active development. While it is already used to power a handful of sites in production, expect things to change frequently. Breaking changes are called out in the changelog.
Installing @nuxtify/cms automatically installs and pre-configures:
@nuxtify/pages(and@nuxtify/core) — responsive page layouts, header/footer navigation, newsletter forms, Vuetify 3, and Nuxt Image (40+ image providers).- Nuxt Content (v3) (
@nuxt/content) — Markdown/MDC content engine, SQLite-backed queries, and typed content collections. - Nuxt SEO (
@nuxtjs/seo) — automatic sitemaps,robots.txt, Schema.org structured data, and SEO meta tags wired directly to your collections.
- 6 Structured Content Collections & Routes — Pre-built list and detail pages for
pages,articles,docs,topics,contributors, plus opt-innotesandtags—each toggleable with customizableroutePrefix(Collections Guide). - Typed Zod Schemas — Ready-to-use frontmatter schemas exported from
@nuxtify/cms/content, pluscreateSeoSchema()for extending or adding custom collections (Content Schemas Reference). - SEO & Schema.org Out of the Box — Powered by Nuxt SEO, automatically excluding drafts, future-scheduled content, and disabled collections from
sitemap.xmlandrobots, withuseArticleSchema,useDocSchema, anduseContentPageSchema(SEO & Schema Guide). - Drafts & Scheduled Publishing — Production-safe composables (
usePublicCollection,usePublicCollectionNavigation,usePublicCollectionSurroundings) automatically filter outdraft: trueand futurepublishedAtitems (Drafts & Scheduling Guide · CMS Composables). - 16+ MDC Page-Block Components — Compose marketing and landing pages directly in Markdown with
PageHero,PageSection,PageGrid,PageFaq,PageCta,PageSplitList,PageBanner,PageCard,PageBreadcrumbs, and more (Authoring & Page Blocks · Page Blocks Reference). - Built-in Docs & Blog UX — Includes
DocsSidebar,DocsPrevNext,DocsMobileBar,DocsTabs, sticky scrollspyPageToc,AuthorByline, and automatic reading time viauseReadingTime(Documentation Sites Guide · Blog & Content Components · Docs Components).
Nuxtify is a modular collection of Nuxt modules built around progressive upgrading: start with sensible defaults out of the box, override only the components, layouts, composables, or utilities you outgrow, and keep receiving updates for everything else.
Read the Introduction and Overriding Defaults Guide to learn more.
| Module | Purpose | Docs |
|---|---|---|
@nuxtify/core |
Core foundation (Vuetify 3, Nuxt Image, base UI primitives, composables & utils) | Core Options |
@nuxtify/pages |
Single and multi-page website layouts, header/footer, navigation & forms | Pages Options |
@nuxtify/cms (this module) |
File-based CMS with Nuxt Content v3, Nuxt SEO, Zod schemas, docs & page blocks | CMS Options |
@nuxtify/app |
Client-only SPA starter for SaaS & AI tools (v0.x deprecated; rewrite in progress) | Modules Overview |
See Modules & Architecture for how the ecosystem fits together.
To use this module in a new or existing Nuxt 4 project:
npx nuxt module add @nuxtify/cms// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@nuxtify/cms'],
nuxtifyCms: {
/* module options */
},
})Import the built-in Zod schemas from @nuxtify/cms/content in your content.config.ts:
// content.config.ts
import { defineCollection, defineContentConfig } from '@nuxt/content'
import {
articleSchema,
contributorSchema,
docSchema,
noteSchema,
pageSchema,
topicSchema,
} from '@nuxtify/cms/content'
export default defineContentConfig({
collections: {
pages: defineCollection({ type: 'page', source: '*.md', schema: pageSchema }),
articles: defineCollection({ type: 'page', source: 'articles/*.md', schema: articleSchema }),
contributors: defineCollection({ type: 'page', source: 'contributors/*.md', schema: contributorSchema }),
topics: defineCollection({ type: 'page', source: 'topics/*.md', schema: topicSchema }),
notes: defineCollection({ type: 'page', source: 'notes/*.md', schema: noteSchema }),
docs: defineCollection({ type: 'page', source: 'docs/**', schema: docSchema }),
},
})Want to add domain-specific collections with full SEO, draft, and scheduled-post sitemap filtering? See Adding Custom Collections and the Content Schemas Reference for extending pageSchema and merging createSeoSchema().
- Follow the Installation and Configuration guides.
- Try it in your browser with the Playgrounds, or browse
nuxtify.devas a full production reference. - Ship to any Node.js, static, or edge host with the Deployment Guide.
Configure build-time options under nuxtifyCms in nuxt.config.ts—especially content.<collection>.enabled and content.<collection>.routePrefix (setting those in app.config.ts will not disable routes or exclude them from the sitemap). Runtime brand, navigation, and UI settings go under nuxtify in app.config.ts.
If you need to override a component, page, or layout, create a file with the same name in the corresponding directory of your project. To override a composable or utility, create a function with the same name in your project.
See the Overriding Defaults Guide for examples.
See ✨ Release Notes and the Upgrading & Troubleshooting Guide.
# Minor and patch versions
npm update @nuxtify/cms --save
# Major versions
npm install @nuxtify/cms@latest --saveContributions are welcome!
- Reporting Bugs: Open a new issue.
- Suggestions: Have ideas to enhance Nuxtify? Open a feature request.
- Local Development: Submit a pull request using the commands below.
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint & type checks
npm run lint
npm run test:types
# Run Vitest
npm run test
npm run test:watchLearn more about authoring Nuxt modules.
