Skip to content

Can't access Nuxt Studio #1294

@colinmollenhour

Description

@colinmollenhour

I created a fresh Docus site using the template. Made minimal changes and added some content. Then I added Nuxt Studio:

npx nuxt module add nuxt-studio
pnpm install
pnpm run dev --port 3030 --https --https.domains my-server.local --public

The page loads and looks normal, but there is no "Edit this page" button and the "/_studio" is a 404.. The package.json has:

  "scripts": {
    "dev": "nuxt dev --extends docus",
    "build": "nuxt build --extends docus",
    "generate": "nuxt generate --extends docus",
    "preview": "nuxt preview --extends docus",
    "postinstall": "nuxt prepare --extends docus",

And nuxt.config.ts has:

 modules: ['nuxt-studio']

No errors in the dev server console. Is there anything I'm missing? Does the --extends docus not work with Nuxt Studio?

From the Nuxt Studio setup docs:

Previous section is enough to be able to edit your content. Just click on the floating button on the bottom left of your page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions