docs: update to use create nuxt command

This commit is contained in:
Daniel Roe 2025-03-04 18:11:48 +00:00
parent bc101e4ae5
commit fe82af4c9d
No known key found for this signature in database
GPG Key ID: CBC814C393D93268
4 changed files with 10 additions and 10 deletions

View File

@ -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 <my-project>
npm create nuxt <my-project>
```
> [!TIP]

View File

@ -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 <project-name>
npm create nuxt <project-name>
```
```bash [yarn]
yarn dlx nuxi@latest init <project-name>
yarn create nuxt <project-name>
```
```bash [pnpm]
pnpm dlx nuxi@latest init <project-name>
pnpm create nuxt <project-name>
```
```bash [bun]
bun x nuxi@latest init <project-name>
bun create nuxt <project-name>
```
::

View File

@ -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
```
::

View File

@ -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.