From c0581a40ccb149d1ddfbf09ee94dfc2b38746c2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nghi=E1=BB=87p?= Date: Wed, 15 Nov 2017 15:55:41 +0700 Subject: [PATCH] Update README.md for with-shallow-routing example (#3285) --- examples/with-shallow-routing/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/with-shallow-routing/README.md b/examples/with-shallow-routing/README.md index 328ac3e8..05abbd31 100644 --- a/examples/with-shallow-routing/README.md +++ b/examples/with-shallow-routing/README.md @@ -7,8 +7,8 @@ Download the example [or clone the repo](https://github.com/zeit/next.js): ```bash -curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/hello-world -cd hello-world +curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-shallow-routing +cd with-shallow-routing ``` Install it and run: @@ -28,4 +28,4 @@ now With shallow routing, we could change the URL without actually running the `getInitialProps` every time you change the URL. -We do this passing the `shallow: true` option to `Router.push` or `Router.replace`. \ No newline at end of file +We do this passing the `shallow: true` option to `Router.push` or `Router.replace`.