docs: update cli docs for --log-level

This commit is contained in:
Daniel Roe 2023-03-07 12:20:43 +00:00
parent 3f1e02351d
commit 06b9233b18
5 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ description: "Analyze the production bundle or your Nuxt application."
# `nuxi analyze`
```{bash}
npx nuxi analyze [rootDir]
npx nuxi analyze [--log-level] [rootDir]
```
The `analyze` command builds Nuxt and analyzes the production bundle (experimental).

View File

@ -6,7 +6,7 @@ description: "Build your Nuxt application."
# `nuxi build`
```{bash}
npx nuxi build [rootDir] [--prerender] [--dotenv]
npx nuxi build [--prerender] [--dotenv] [--log-level] [rootDir]
```
The `build` command creates a `.output` directory with all your application, server and dependencies ready for production.

View File

@ -6,7 +6,7 @@ description: The dev command starts a development server with hot module replace
# `nuxi dev`
```{bash}
npx nuxi dev [rootDir] [--dotenv] [--clipboard] [--open, -o] [--no-clear] [--port, -p] [--host, -h] [--https] [--ssl-cert] [--ssl-key]
npx nuxi dev [rootDir] [--dotenv] [--log-level] [--clipboard] [--open, -o] [--no-clear] [--port, -p] [--host, -h] [--https] [--ssl-cert] [--ssl-key]
```
The `dev` command starts a development server with hot module replacement at [http://localhost:3000](https://localhost:3000)

View File

@ -4,7 +4,7 @@ description: The prepare command creates a .nuxt directory in your application a
# `nuxi prepare`
```{bash}
npx nuxi prepare [rootDir]
npx nuxi prepare [--log-level] [rootDir]
```
The `prepare` command creates a `.nuxt` directory in your application and generates types. This can be useful in a CI environment or as a `postinstall` command in your `package.json`.

View File

@ -6,7 +6,7 @@ description: The typecheck command runs vue-tsc to check types throughout your a
# `nuxi typecheck`
```{bash}
npx nuxi typecheck [rootDir]
npx nuxi typecheck [--log-level] [rootDir]
```
The `typecheck` command runs [`vue-tsc`](https://github.com/johnsoncodehk/volar/tree/master/vue-language-tools/vue-tsc) to check types throughout your app.