npm @nuxt/content 3.0.0
v3.0.0

one day ago

Content version 3 is out - introducing SQL based storage, collections, preview API for a better Studio integration and tons of performance improvements.

Checkout 📖 Content module's official docs

✨ Highlights

  • 🚀 Performance Improvements
    • Serverless Compatibility
    • WASM SQLite in Browser
  • 🗄️ Content Collections
    • Define Collections
    • Collections Schema
  • 🔧 Simplified Vue Utils
  • 📦 Built-in Components
  • 🔷 TypeScript Integration
  • 🖼️ Studio Integration
    • Preview API

BREAKING CHANGES

  • The studio module has been deprecated and a new generic Preview API has been implemented directly into Nuxt Content, you can remove the @nuxthq/studio package from your dependencies and from the nuxt.config.ts modules. Instead we just need to enable the preview mode in the Nuxt configuration file by binding the Studio API.
export default defineNuxtConfig({
  content: {
    preview: {
      api: 'https://api.nuxt.studio/
    }
  },
})
  • To keep the app config file updatable from Studio we just need to update the helper import of the nuxt.schema.ts file from @nuxthq/studio/theme to @nuxt/content/preview.

Don't miss a new content release

NewReleases is sending notifications on new releases.