Skip to content

Commit c25d392

Browse files
committed
docs: correct conditional behaviour
1 parent 6890367 commit c25d392

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

docs/add.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ The `add` command installs [Nuxt modules](/modules) and [layers](/docs/getting-s
3939

4040
When running the command, it will:
4141

42-
- install the package as a dependency using your package manager
42+
- install the package as a dependency using your package manager, unless you pass `--skipInstall`
4343
- add it to your [`package.json`](/docs/directory-structure/package) file
44-
- register it in your [`nuxt.config`](/docs/directory-structure/nuxt-config) file, in `modules` for a module and in `extends` for a layer
44+
- register it in your [`nuxt.config`](/docs/directory-structure/nuxt-config) file, in `modules` for a module and in `extends` for a layer, unless you pass `--skipConfig`
4545

4646
**Example:**
4747

docs/dev.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ The build timings, `perf-report.json` and `perf-trace.json` come from Nuxt's own
126126

127127
| Variable | Purpose |
128128
|---------------------------|----------------------------------------------------------------------|
129-
| `NUXT_PORT`, `NITRO_PORT`, `PORT` | Port to listen on |
130-
| `NUXT_HOST`, `NITRO_HOST`, `HOST` | Host to listen on |
129+
| `NUXT_PORT`, `NITRO_PORT`, `PORT` | Port to listen on, in that order of precedence |
130+
| `NUXT_HOST`, `NITRO_HOST`, `HOST` | Host to listen on, in that order of precedence |
131131
| `NUXT_TUI` | `1` to force the interactive UI on, `plain` to opt out |
132132
| `NUXT_TERM_THEME` | `light` or `dark`, when the terminal's background cannot be detected |
133133
| `NUXT_IGNORE_LOCK` | `1` to ignore a dev server already running for this project |

docs/typecheck.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The `typecheck` command runs [`vue-tsc`](https://github.com/vuejs/language-tools
3535
| `-e, --extends=<layer-name>...` | | Extend from a Nuxt layer |
3636
| `--checker=<vue-tsc\|golar>` | | Type checker to use |
3737
| `-b, --build` | | Type-check in build mode, using TypeScript project references (detected automatically by default) |
38+
| `--no-build` | | Type-check without TypeScript project references |
3839
<!--/typecheck-opts-->
3940

4041
## Type checkers

0 commit comments

Comments
 (0)