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 GitHub
parent 8264ab501e
commit 88c9f64ec6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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.