Nuxt/docs/3.api/5.commands/cleanup.md
Sébastien Chopin 3ec108493d
docs: simplify the docs directory (#18506)
* docs: simplify docs to only markdown

* Create nuxt-config.md

* chore: update

* chore: add readme
2023-01-25 10:41:41 +01:00

20 lines
451 B
Markdown

---
description: "Remove common generated Nuxt files and caches."
---
# `nuxi cleanup`
```{bash}
npx nuxi clean|cleanup [rootDir]
```
The `cleanup` command removes common generated Nuxt files and caches, including:
- `.nuxt`
- `.output`
- `node_modules/.vite`
- `node_modules/.cache`
Option | Default | Description
-------------------------|-----------------|------------------
`rootDir` | `.` | The root directory of the project.