Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Use new create-nuxt tool when starting Nuxt projects #5175

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/docs/02-getting-started/05-nuxt.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you haven't obtained your OpenAI API key, you can do so by [signing up](https

Start by creating a new Nuxt application. This command will create a new directory named `my-ai-app` and set up a basic Nuxt application inside it.

<Snippet text="pnpm dlx nuxi@latest init my-ai-app" />
<Snippet text="pnpm create nuxt my-ai-app" />

Navigate to the newly created directory:

Expand Down
4 changes: 2 additions & 2 deletions examples/nuxt-openai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_mediu

## How to use

Execute `nuxi` to bootstrap the example:
Execute `create-nuxt` to bootstrap the example:

```bash
npx nuxi@latest init -t github:vercel/ai/examples/nuxt-openai nuxt-openai
npx create-nuxt -t github:vercel/ai/examples/nuxt-openai nuxt-openai
```

To run the example locally you need to:
Expand Down