From fe82af4c9de58d0e33bbd02abab231a2a9e3187b Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 4 Mar 2025 18:11:48 +0000 Subject: [PATCH] docs: update to use `create nuxt` command --- README.md | 2 +- docs/1.getting-started/2.installation.md | 8 ++++---- docs/2.guide/3.going-further/3.modules.md | 8 ++++---- docs/2.guide/3.going-further/7.layers.md | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5f83766cc2..ebca81af15 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ It provides a number of features that make it easy to build fast, SEO-friendly, Use the following command to create a new starter project. This will create a starter project with all the necessary files and dependencies: ```bash -npx nuxi@latest init +npm create nuxt ``` > [!TIP] diff --git a/docs/1.getting-started/2.installation.md b/docs/1.getting-started/2.installation.md index 715e0b8f1f..7a0cef8f31 100644 --- a/docs/1.getting-started/2.installation.md +++ b/docs/1.getting-started/2.installation.md @@ -38,19 +38,19 @@ Open a terminal (if you're using [Visual Studio Code](https://code.visualstudio. ::package-managers ```bash [npm] -npx nuxi@latest init +npm create nuxt ``` ```bash [yarn] -yarn dlx nuxi@latest init +yarn create nuxt ``` ```bash [pnpm] -pnpm dlx nuxi@latest init +pnpm create nuxt ``` ```bash [bun] -bun x nuxi@latest init +bun create nuxt ``` :: diff --git a/docs/2.guide/3.going-further/3.modules.md b/docs/2.guide/3.going-further/3.modules.md index 693ee7ac7d..520cd2a1cc 100644 --- a/docs/2.guide/3.going-further/3.modules.md +++ b/docs/2.guide/3.going-further/3.modules.md @@ -16,19 +16,19 @@ We recommend you get started with Nuxt Modules using our [starter template](http ::package-managers ```bash [npm] -npx nuxi init -t module my-module +npm create nuxt -t module my-module ``` ```bash [yarn] -yarn dlx nuxi init -t module my-module +yarn create nuxt -t module my-module ``` ```bash [pnpm] -pnpm dlx nuxi init -t module my-module +pnpm create nuxt -t module my-module ``` ```bash [bun] -bun x nuxi init -t module my-module +bun create nuxt -t module my-module ``` :: diff --git a/docs/2.guide/3.going-further/7.layers.md b/docs/2.guide/3.going-further/7.layers.md index 36a3211382..19db9c8a79 100644 --- a/docs/2.guide/3.going-further/7.layers.md +++ b/docs/2.guide/3.going-further/7.layers.md @@ -70,7 +70,7 @@ Additionally, certain other files in the layer directory will be auto-scanned an To get started you can initialize a layer with the [nuxt/starter/layer template](https://github.com/nuxt/starter/tree/layer). This will create a basic structure you can build upon. Execute this command within the terminal to get started: ```bash [Terminal] -npx nuxi init --template layer nuxt-layer +npm create nuxt --template layer nuxt-layer ``` Follow up on the README instructions for the next steps.