Skip to content

Edit Nuxt Content website with a visual editor, in production.

License

Notifications You must be signed in to change notification settings

nuxtlabs/studio-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fa94314 · Jan 16, 2025
Jan 9, 2024
Jan 4, 2024
Oct 24, 2024
Oct 24, 2024
Aug 24, 2022
Nov 16, 2022
Jan 4, 2024
May 4, 2023
Dec 6, 2022
Oct 13, 2023
Jan 16, 2025
Apr 30, 2024
Oct 29, 2024
Oct 29, 2024
Mar 22, 2023
Jun 1, 2023
Jan 4, 2024

Repository files navigation

Nuxt Studio Module

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

Features

Installation

Install the dependency to your project:

npx nuxi@latest module add studio

Then, register the module in your nuxt.config.ts:

export default defineNuxtConfig({
  modules: [
    '@nuxthq/studio'
  ]
})

Configuration

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}

Nightly Builds

You can install the latest nightly build of the Studio module by running:

npx nuxi@latest module add studio

Development

  • Run pnpm i to install dependencies.
  • Run pnpm dev:prepare to prepare the module in development mode.
  • Run pnpm dev to start the dev server using playground/ as the project.
  • Visit http://localhost:3000/

License

MIT License

Copyright (c) NuxtLabs