From 16256f3f30953078303ff00dff576868077e0364 Mon Sep 17 00:00:00 2001 From: Yi-Ru Lan <47501692+awdr74100@users.noreply.github.com> Date: Mon, 15 Jan 2024 19:23:40 +0800 Subject: [PATCH] docs: remove invalid nuxi aliases (#25209) --- docs/3.api/4.commands/cleanup.md | 2 +- docs/3.api/4.commands/init.md | 2 +- docs/3.api/4.commands/preview.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/3.api/4.commands/cleanup.md b/docs/3.api/4.commands/cleanup.md index 656675055c..af4c867db9 100644 --- a/docs/3.api/4.commands/cleanup.md +++ b/docs/3.api/4.commands/cleanup.md @@ -9,7 +9,7 @@ links: --- ```bash [Terminal] -npx nuxi clean|cleanup [rootDir] +npx nuxi cleanup [rootDir] ``` The `cleanup` command removes common generated Nuxt files and caches, including: diff --git a/docs/3.api/4.commands/init.md b/docs/3.api/4.commands/init.md index f7ed124084..0514e24e9b 100644 --- a/docs/3.api/4.commands/init.md +++ b/docs/3.api/4.commands/init.md @@ -9,7 +9,7 @@ links: --- ```bash [Terminal] -npx nuxi init|create [--verbose|-v] [--template,-t] [dir] +npx nuxi init [--verbose|-v] [--template,-t] [dir] ``` The `init` command initializes a fresh Nuxt project using [unjs/giget](https://github.com/unjs/giget). diff --git a/docs/3.api/4.commands/preview.md b/docs/3.api/4.commands/preview.md index ed2736faee..b3360d5e0d 100644 --- a/docs/3.api/4.commands/preview.md +++ b/docs/3.api/4.commands/preview.md @@ -9,7 +9,7 @@ links: --- ```bash [Terminal] -npx nuxi preview [rootDir] [--dotenv] +npx nuxi preview|start [rootDir] [--dotenv] ``` The `preview` command starts a server to preview your Nuxt application after running the `build` command. The `start` command is an alias for `preview`. When running your application in production refer to the [Deployment section](/docs/getting-started/deployment).