Nuxt/docs/3.api/4.commands/devtools.md
2024-12-18 16:36:46 +00:00

1.2 KiB

title description links
nuxi devtools The devtools command allows you to enable or disable Nuxt DevTools on a per-project basis.
label icon to size
Source i-simple-icons-github https://github.com/nuxt/cli/blob/main/src/commands/devtools.ts xs
npx nuxi devtools <COMMAND> [ROOTDIR] [--cwd=<directory>]

Running nuxi devtools enable will install the Nuxt DevTools globally, and also enable it within the particular project you are using. It is saved as a preference in your user-level .nuxtrc. If you want to remove devtools support for a particular project, you can run nuxi devtools disable.

Arguments

Argument Description
COMMAND Command to run (options: <enable|disable>)
ROOTDIR="." Specifies the working directory (default: .)

Options

Option Default Description
--cwd=<directory> Specify the working directory, this takes precedence over ROOTDIR (default: .)

::read-more{icon="i-simple-icons-nuxtdotjs" to="https://devtools.nuxt.com" target="_blank"} Read more about the Nuxt DevTools. ::