Skip to content
nuxtify-devPublic

About

File-based CMS for Nuxt & Vuetify powered by Nuxt Content, Nuxt SEO, Zod schemas, and MDC blocks.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Nuxtify CMS

Nuxtify CMS

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.

npm version 📖 Docs 🏀 Playground License

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.

🧩 What's Bundled

Installing @nuxtify/cms automatically installs and pre-configures:

✨ Features

  • 6 Structured Content Collections & Routes — Pre-built list and detail pages for pages, articles, docs, topics, contributors, plus opt-in notes and tags—each toggleable with customizable routePrefix (Collections Guide).
  • Typed Zod Schemas — Ready-to-use frontmatter schemas exported from @nuxtify/cms/content, plus createSeoSchema() 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.xml and robots, with useArticleSchema, useDocSchema, and useContentPageSchema (SEO & Schema Guide).
  • Drafts & Scheduled Publishing — Production-safe composables (usePublicCollection, usePublicCollectionNavigation, usePublicCollectionSurroundings) automatically filter out draft: true and future publishedAt items (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 scrollspy PageToc, AuthorByline, and automatic reading time via useReadingTime (Documentation Sites Guide · Blog & Content Components · Docs Components).

♾️ Why Nuxtify?

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.

🗺️ Nuxtify Modules

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.

🚀 Quick Start

To use this module in a new or existing Nuxt 4 project:

1. Install the module

npx nuxt module add @nuxtify/cms

2. Configure nuxt.config.ts

// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@nuxtify/cms'],
  nuxtifyCms: {
    /* module options */
  },
})

3. Configure content collections

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().

4. Start building

🔧 Configuration

Module options

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.

Overriding the defaults

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.

✅ Updates

See ✨ Release Notes and the Upgrading & Troubleshooting Guide.

# Minor and patch versions
npm update @nuxtify/cms --save

# Major versions
npm install @nuxtify/cms@latest --save

❤️ Contributing

Contributions are welcome!

🏠 Local Development

# 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:watch

Learn more about authoring Nuxt modules.

⚖️ License

MIT

About

File-based CMS for Nuxt & Vuetify powered by Nuxt Content, Nuxt SEO, Zod schemas, and MDC blocks.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages