mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
f26a801775
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
24 lines
604 B
Markdown
24 lines
604 B
Markdown
---
|
|
title: 'nuxi cleanup'
|
|
description: "Remove common generated Nuxt files and caches."
|
|
links:
|
|
- label: Source
|
|
icon: i-simple-icons-github
|
|
to: https://github.com/nuxt/cli/blob/main/src/commands/cleanup.ts
|
|
size: xs
|
|
---
|
|
|
|
```bash [Terminal]
|
|
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.
|