Getting Started
Installation
Nuxt DevTools is shipped with Nuxt. To enable it, set devtools to true in your nuxt.config:
export default defineNuxtConfig({
devtools: { enabled: true },
})
Open the DevTools Panel
Restart your Nuxt server and open your app in browser. Click the Vite DevTools trigger at the bottom of the page (or press SHIFT + ALT / ⇧ SHIFT + ⌥ OPTION + D) to toggle the DevTools. The first time, Vite DevTools asks you to authorize the browser with the code printed in your terminal.
Nuxt 4
Nuxt 5 ships with Nuxt DevTools v4. Nuxt 4.5+ still bundles v3; override it to ^4.0.0 with your package manager as described in Upgrading to v4. Nuxt 4.0–4.4 ship Vite 7 and cannot run v4.
Nightly Release Channel
Similar to Nuxt's Nightly Channel, DevTools also offers a nightly release channel, that automatically releases for every commit to main branch.
You can opt-in to the nightly release channel by using package manager resolutions:
{
"overrides": {
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@latest"
}
}
{
"resolutions": {
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@latest"
}
}
{
"pnpm": {
"overrides": {
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@latest"
}
}
}
Remove lockfile (package-lock.json, yarn.lock, or pnpm-lock.yaml) and reinstall dependencies.
Module Options
To configure Nuxt DevTools, you can pass the devtools options.
export default defineNuxtConfig({
devtools: {
// Enable devtools (default: true)
enabled: true,
// Coder code-server options (enabled by default)
codeServer: {},
// ...other options
}
})
For all options available, please refer to TSDocs in your IDE, or the type definition file.