Caution
This module is now deprecated as it has been integrated in Nuxt Content version 3. Check the documentation for more info about how to enable Studio preview with Content v3. You can still use it if you're using Nuxt Content v2 but we recommend moving to the v3.
Official module of Nuxt Studio.
Edit your websites made with Nuxt Content, in production on any device.
📖 Official Documentation
- 🚀 Production live preview
- ⌨️ Edit your content
- ⚙️ Update your configs
Install the dependency to your project:
npx nuxi@latest module add studioThen, register the module in your nuxt.config.ts:
export default defineNuxtConfig({
modules: [
'@nuxthq/studio'
]
})Check out our setup requirements.
By default the Studio API is https://api.nuxt.studio. If you want to customise it, you can set the STUDIO_API environement variable.
# .env
STUDIO_API=http://localhost:{PORT}You can install the latest nightly build of the Studio module by running:
npx nuxi@latest module add studio- Run
pnpm ito install dependencies. - Run
pnpm dev:prepareto prepare the module in development mode. - Run
pnpm devto start the dev server usingplayground/as the project. - Visit http://localhost:3000/
Copyright (c) NuxtLabs