From d135d546f05e9a908c89306095084e14b67260a9 Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Sat, 29 May 2021 12:23:52 +0530 Subject: [PATCH 1/2] Updated Readme Split the copying instruction into separate code sections as any one of the command is used and Its easier to copy individual commands . --- examples/blog-starter/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/examples/blog-starter/README.md b/examples/blog-starter/README.md index bcfee0c665a77..5657a73ba2f84 100644 --- a/examples/blog-starter/README.md +++ b/examples/blog-starter/README.md @@ -36,10 +36,15 @@ Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_mediu Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: -```bash +``` npx create-next-app --example blog-starter blog-starter-app -# or + +``` + +or +``` yarn create next-app --example blog-starter blog-starter-app + ``` Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions). From 8add283cb19d82c245472423d76507407e04ce65 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Wed, 9 Jun 2021 13:35:02 -0500 Subject: [PATCH 2/2] lint-fix --- examples/blog-starter/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/blog-starter/README.md b/examples/blog-starter/README.md index 902be191e2938..0b9ab5a1d932b 100644 --- a/examples/blog-starter/README.md +++ b/examples/blog-starter/README.md @@ -48,6 +48,7 @@ npx create-next-app --example blog-starter blog-starter-app ``` or + ``` yarn create next-app --example blog-starter blog-starter-app