From 46dafa055196d386ed29393b916456979198bd89 Mon Sep 17 00:00:00 2001 From: TN <128629064+whatisagi@users.noreply.github.com> Date: Tue, 3 Sep 2024 20:24:40 -0400 Subject: [PATCH] fix repo names Fix repo names so that the commands can be copy-pasted --- examples/route-handlers/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/route-handlers/README.md b/examples/route-handlers/README.md index 927e58387e4d8..50061a905f177 100644 --- a/examples/route-handlers/README.md +++ b/examples/route-handlers/README.md @@ -4,24 +4,24 @@ Next.js ships with [Route Handlers](https://nextjs.org/docs/app/building-your-ap ## Deploy your own -Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/api-routes) +Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/route-handlers) -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/api-routes&project-name=api-routes&repository-name=api-routes) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/route-handlers&project-name=route-handlers&repository-name=route-handlers) ## How to use Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example: ```bash -npx create-next-app --example api-routes api-routes-app +npx create-next-app --example route-handlerss route-handlers-app ``` ```bash -yarn create next-app --example api-routes api-routes-app +yarn create next-app --example route-handlers route-handlerss-app ``` ```bash -pnpm create next-app --example api-routes api-routes-app +pnpm create next-app --example route-handlers route-handlers-app ``` Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).