Index of every page on this site: llms.txt

Troubleshooting Nuxt Site Config

Debugging

The best tool for debugging is the Nuxt DevTools integration with Nuxt Site Config. The easiest way to debug is to open your DevTools and navigate to the Site Config tab, which will show you the current site config.

The Site Config tab needs the nuxtseo-devtools-host package. Install it as a dev dependency with pnpm add -D nuxtseo-devtools-host, then restart the dev server.

If you'd like to debug outside of development, you will need to enable the debug mode.

nuxt.config.ts
export default defineNuxtConfig({
  site: {
    debug: true,
  },
})

With debug mode enabled, visit the endpoint /__site-config__/debug.json to see the current site config debug output at runtime. The build step also generates a static file at the same path for the build time site config debug output.

Submitting an Issue

When submitting an issue, it's important to provide as much information as possible.

The easiest way to do this is to create a minimal reproduction using the StackBlitz playgrounds:

Debugging Tools

Was this page helpful?