mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-19 01:45:53 +00:00
docs: document --dev
option for the module command (#30477)
This commit is contained in:
parent
8264ab501e
commit
88c9f64ec6
@ -14,7 +14,7 @@ Nuxi provides a few utilities to work with [Nuxt modules](/modules) seamlessly.
|
|||||||
|
|
||||||
<!--module-add-cmd-->
|
<!--module-add-cmd-->
|
||||||
```bash [Terminal]
|
```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-->
|
<!--/module-add-cmd-->
|
||||||
|
|
||||||
@ -31,6 +31,7 @@ Option | Default | Description
|
|||||||
`--logLevel=<silent\|info\|verbose>` | | Specify build-time log level
|
`--logLevel=<silent\|info\|verbose>` | | Specify build-time log level
|
||||||
`--skipInstall` | | Skip npm install
|
`--skipInstall` | | Skip npm install
|
||||||
`--skipConfig` | | Skip nuxt.config.ts update
|
`--skipConfig` | | Skip nuxt.config.ts update
|
||||||
|
`--dev` | | Install module as dev dependency
|
||||||
<!--/module-add-opts-->
|
<!--/module-add-opts-->
|
||||||
|
|
||||||
The command lets you install [Nuxt modules](/modules) in your application with no manual work.
|
The command lets you install [Nuxt modules](/modules) in your application with no manual work.
|
||||||
|
Loading…
Reference in New Issue
Block a user