360 Secure SkillHub
360 安全技能中心

nuxt-studio

面向 Nuxt Content 项目的 Nuxt Studio 自托管编辑器配置指南,覆盖安装、编辑器定制、OAuth/自定义认证、媒体、草稿、Git 发布、SSR 部署、分支与冲突处理,并区分内容编辑与 Nuxt Content 集合/渲染职责。

onmax
热度 9.61
最近更新 2026-10-19 02:47:29
分类:开发依赖:代码执行 / 读写文件 / 第三方 API应用场景:DevOps / 工作流 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add onmax/nuxt-skills/nuxt-studio
Metadata
name
nuxt-studio
description
Configure and operate the self-hosted Nuxt Studio editor for Nuxt Content. Use when working with nuxt-studio installation, editor customization, OAuth or custom authentication, media, drafts, Git publishing, or production deployment.
license
MIT

Nuxt Studio

Nuxt Studio owns content editing and publishing. Nuxt Content owns collections, queries, parsing, and rendering.

Workflow

  1. Inspect the installed nuxt-studio and @nuxt/content versions, deployment mode, repository provider, and authentication provider. Setup is understood when the editor route, Git target, and login callback all point at the same deployment.
  2. Open the smallest matching guide below and keep collection/schema changes within the nuxt-content boundary.
  3. Verify local editing against the filesystem, then verify production login and one publish cycle on an SSR-capable deployment. The work is complete when the commit reaches the configured branch and the rebuilt site exposes it.

Routing

Task Open
Install, repository settings, OAuth/custom auth, editor filters, or environment variables Configuration
Visual/MDC editing, schema forms, drafts, media, or AI assistance Live editing
SSR deployment, Git publishing, branch strategy, conflicts, or monorepos Deployment
Collections, validators, queries, hooks, or rendering nuxt-content skill

Baseline

npx nuxt module add nuxt-studio
export default defineNuxtConfig({
  modules: ['@nuxt/content', 'nuxt-studio'],
  studio: {
    repository: {
      provider: 'github',
      owner: 'your-org',
      repo: 'your-repo',
      branch: 'main',
    },
  },
})
NUXT_STUDIO_AUTH_GITHUB_CLIENT_ID=<client-id>
NUXT_STUDIO_AUTH_GITHUB_CLIENT_SECRET=<client-secret>

Studio runs at /_studio by default. Supported CI providers can infer repository metadata, but authentication credentials remain explicit deployment secrets.