mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-20 07:30:57 +00:00
docs: update cli docs for --log-level
This commit is contained in:
parent
3f1e02351d
commit
06b9233b18
@ -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).
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
|
@ -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`.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user