npx nuxt cleanup [ROOTDIR] [--cwd=<directory>]
The cleanup command removes common generated Nuxt files and caches, including:
.nuxt.outputnode_modules/.vitenode_modules/.cache| Argument | Description |
|---|---|
ROOTDIR="." | Specifies the working directory (default: .) |
| Option | Default | Description |
|---|---|---|
--cwd=<directory> | Specify the working directory, this takes precedence over ROOTDIR (default: .) |