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 thenuxt.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
.