docs: document --dev option for the module command (#30477)

This commit is contained in:
Clément Ollivier 2025-01-06 17:27:27 +01:00 committed by Daniel Roe
parent 4247caa097
commit d80ec0a6ca
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -14,7 +14,7 @@ Nuxi provides a few utilities to work with [Nuxt modules](/modules) seamlessly.
<!--module-add-cmd-->
```bash [Terminal]
npx nuxi module add <MODULENAME> [--cwd=<directory>] [--logLevel=<silent|info|verbose>] [--skipInstall] [--skipConfig]
npx nuxi module add <MODULENAME> [--cwd=<directory>] [--logLevel=<silent|info|verbose>] [--skipInstall] [--skipConfig] [--dev]
```
<!--/module-add-cmd-->
@ -31,6 +31,7 @@ Option | Default | Description
`--logLevel=<silent\|info\|verbose>` | | Specify build-time log level
`--skipInstall` | | Skip npm install
`--skipConfig` | | Skip nuxt.config.ts update
`--dev` | | Install module as dev dependency
<!--/module-add-opts-->
The command lets you install [Nuxt modules](/modules) in your application with no manual work.