mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-19 07:51:18 +00:00
docs: update to use create nuxt
command
This commit is contained in:
parent
bc101e4ae5
commit
fe82af4c9d
@ -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]
|
||||
|
@ -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>
|
||||
```
|
||||
|
||||
::
|
||||
|
@ -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
|
||||
```
|
||||
::
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user