From c8bcf621fd0ea5d9e9a586eb8d7b5d7215d7a1b6 Mon Sep 17 00:00:00 2001 From: wobsoriano Date: Wed, 12 Mar 2025 17:20:34 -0700 Subject: [PATCH 1/3] docs: Use new create-nuxt tool --- content/docs/02-getting-started/05-nuxt.mdx | 2 +- examples/nuxt-openai/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/02-getting-started/05-nuxt.mdx b/content/docs/02-getting-started/05-nuxt.mdx index 27dee15b9f7f..57ae88102b03 100644 --- a/content/docs/02-getting-started/05-nuxt.mdx +++ b/content/docs/02-getting-started/05-nuxt.mdx @@ -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. - + Navigate to the newly created directory: diff --git a/examples/nuxt-openai/README.md b/examples/nuxt-openai/README.md index cbadb669da44..89b3b3a8a922 100644 --- a/examples/nuxt-openai/README.md +++ b/examples/nuxt-openai/README.md @@ -13,7 +13,7 @@ Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_mediu Execute `nuxi` to bootstrap the example: ```bash -npx nuxi@latest init -t github:vercel/ai/examples/nuxt-openai nuxt-openai +npm create nuxt -t github:vercel/ai/examples/nuxt-openai nuxt-openai ``` To run the example locally you need to: From 3d4ed5ba7987bbbf31eaa306290ebb70c81de4b6 Mon Sep 17 00:00:00 2001 From: Robert Soriano Date: Thu, 13 Mar 2025 08:21:04 -0700 Subject: [PATCH 2/3] fix command --- examples/nuxt-openai/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nuxt-openai/README.md b/examples/nuxt-openai/README.md index 89b3b3a8a922..3f065c8c8b9e 100644 --- a/examples/nuxt-openai/README.md +++ b/examples/nuxt-openai/README.md @@ -13,7 +13,7 @@ Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_mediu Execute `nuxi` to bootstrap the example: ```bash -npm create nuxt -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: From d1e32476fc8bd1cc9b7d87a781c19caa3be2d4f9 Mon Sep 17 00:00:00 2001 From: Robert Soriano Date: Thu, 13 Mar 2025 08:24:08 -0700 Subject: [PATCH 3/3] chore: Update command instructions --- examples/nuxt-openai/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nuxt-openai/README.md b/examples/nuxt-openai/README.md index 3f065c8c8b9e..bb847c0d912f 100644 --- a/examples/nuxt-openai/README.md +++ b/examples/nuxt-openai/README.md @@ -10,7 +10,7 @@ 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 create-nuxt -t github:vercel/ai/examples/nuxt-openai nuxt-openai